Skip to content

Nanograd is even smaller than micrograd | Autograd implementation with vanilla Python

Notifications You must be signed in to change notification settings

ArnoldIOI/nanograd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Nanograd

Nanograd(100 lines of code) is even smaller than micrograd

Fun Fact

I didn't mean to make this smaller. I was actually trying to reproduce micrograd in my own way for learning purpose. And it turns out to be exactly 100 lines of code.

100 is sort of a special number. So I decide to keep this project.

Features

  • Type hints (easier to read and understand in some way)
  • Only basic operations (+, *)
  • 100 lines of code (ignoring the test part)

Credits

Credits to micrograd

License

MIT

About

Nanograd is even smaller than micrograd | Autograd implementation with vanilla Python

Topics

Resources

Stars

Watchers

Forks

Languages