Backpropagation-based autograd engine
MicroGrad is an autograd engine that implements the core functionality of backpropagation for automatic differentiation. This project aims to provide a simplified version of the autograd mechanisms found in larger deep learning frameworks like PyTorch and TensorFlow.
- Clone this repository
- Install the required packages:
pip install micrograd
from micrograd import nn
n = nn.Neuron(2)
x = [Value(1.0), Value(-2.0)]
y = n(x)
dot = draw_dot(y)
