Small neural network library in pure Python and numpy.
Go to file
2020-11-14 23:07:42 +00:00
assets Add logo to README 2020-11-14 23:07:42 +00:00
.gitignore Add include/ to .gitignore 2020-11-14 20:45:38 +00:00
nn.py Add more TODOs 2020-11-14 22:38:30 +00:00
README.md Add logo to README 2020-11-14 23:07:42 +00:00


Neural network library written in Python completely from scratch, using only numpy.

Usage

import nn

a, b = Tensor(2), Tensor(3)
c = a.mul(b)
d = c.exp()
d.backward()

print(a.grad, b.grad, c.grad)
# should output (1210.2863804782053, 806.8575869854702, 403.4287934927351)

References

Copying

This is free and unencumbered software released into the public domain.