Autograd
A Python library that automatically works out the maths needed to train neural networks and other models.
- Your data
- Stays on your device
- Coding needed
- Developers only
- Cost
- Free
- Computer
- An ordinary computer is fine
A Python library that automatically works out the maths needed to train neural networks and other models.
Autograd automatically calculates derivatives, the measure of how a result changes when its inputs change, for ordinary Python and NumPy code. This is the core maths behind training neural networks.
It handles loops, if-statements and other normal code, and can take derivatives of derivatives. Its main intended use is gradient-based optimisation, a step-by-step way of improving a model.
The README includes examples such as simple neural networks and a fluid simulation.
Researchers and programmers who write their own machine learning or optimisation code in Python.
Developers only. It's a Python code library. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?