nn.py | ||
README.md |
PyGrad
Neural network library written in Python completely from scratch, using only numpy.
Usage
import nn
a = nn.Tensor(1), b = nn.Tensor(2)
c = a.mul(b)
c.backward()
print(a.grad, b.grad) # should output (2, 1)
References
Copying
This is free and unencumbered software released into the public domain.