VFlash: Fast, Accurate Visual Planning via Flash Primitive Decoding
u_Unrolled
All projects

Machine learning · Beginner · by Andrej Karpathy

micrograd: A tiny scalar-valued autograd engine

A tiny 100-line scalar autograd engine implementing backpropagation over a dynamically built DAG with a PyTorch-like API.

a weekend 12400 on GitHubPythonAutogradGraphviz
Open the code on GitHub

What you'll learn

  • Reverse-mode automatic differentiation from first principles
  • Building a dynamic computation graph DAG on the fly
  • Training a 2-layer MLP on a binary classification dataset
  • Graph visualization of forward values and gradient flows

Read first

The lessons that explain what this project uses.

Part of the Deep Learning path.

Milestones

0/4

Built it? Show it.

Add your own repo to earn 150 XP and the Shipper badge. It appears on your profile, so it's ready for your resume.

More machine learning projects