Skip to content

joelburget/microjax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microjax: JAX in two classes and six functions

Open In Colab or Read on Github (I recommend actually running the notebook, either on your own computer or Colab).

This is inspired by Andrej Karpathy's Micrograd, a PyTorch-like library in about 150 lines of code. Despite PyTorch's popularity, I prefer the way JAX works because it a more functional style.

This tutorial borrows heavily from Matthew J Johnson's great 2017 presentation on the predecessor to JAX, autograd: Video / Slides / Code. My main contribution is simplifying a bit and packaging it as a notebook.

About

A tiny autograd engine with a Jax-like API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published