micrograd

A tiny Autograd engine (with a bite! :)). Implements backpropagation (reverse-mode autodiff) over a dynamically built DAG and a small neural networks library on top of it with a PyTorch-like API. Both are tiny, with about 100 and 50 lines of code respectively.

Cost / License

  • Free
  • Open Source

Platforms

  • BSD
  • Linux
  • Mac
  • Windows
  • Python
-
No reviews
1like
0comments
0news articles

Features

Suggest and vote on features
  1.  Neural network
  2.  Python-based

 Tags

micrograd News & Activities

Highlights All activities

Recent activities

Show all activities

micrograd information

  • Developed by

    US flagAndrej Karpathy
  • Licensing

    Open Source (MIT) and Free product.
  • Alternatives

    10 alternatives listed
  • Supported Languages

    • English

AlternativeTo Category

Development

GitHub repository

  •  14,006 Stars
  •  2,089 Forks
  •  70 Open Issues
  •   Updated  
View on GitHub
micrograd was added to AlternativeTo by Paul on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is micrograd?

A tiny Autograd engine (with a bite! :)). Implements backpropagation (reverse-mode autodiff) over a dynamically built DAG and a small neural networks library on top of it with a PyTorch-like API. Both are tiny, with about 100 and 50 lines of code respectively. The DAG only operates over scalar values, so e.g. we chop up each neuron into all of its individual tiny adds and multiplies. However, this is enough to build up entire deep neural nets doing binary classification, as the demo notebook shows. Potentially useful for educational purposes.

Official Links