Skip to content

ntrupin/noahgrad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

noahgrad

not perfect, but it works so far. ship fast, fix later. this is a learning exercise, after all.

inspirations / references: micrograd, tinygrad, pytorch, paperswithcode

features

  • tensors w/ autodiff
  • feed-forward and backpropagation
  • loss functions (mse, crossentropy, etc.)
  • optimizers (sgd, adam, etc.)
  • extendable optimizer class
  • modules (linear, sequential, etc.)
  • extendable module class
  • activations (relu, tanh, etc.)
  • functional lib (like torch.nn.functional)
  • persistent and temporary buffers
  • saving state dicts

todo (not guaranteed)

  • gpu support (via jax?)
  • loading state dicts

About

neural networks from scratch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages