Skip to content

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

micrograd.zig

A tiny scalar-valued autograd engine and a neural net library in Zig. It is inspired by the micrograd project from Andrej Karpathy.

I wrote it in Zig for education purpose, and for fun of course. :)

Examples

Examples can be found in the examples folder.

  • expression.zig: a backpropagation on an expression.
  • tiny_dataset: a neural network on a tiny dataset.

To run them:

% zig build run -Dexample=expression
% zig build run -Dexample=tiny_dataset

Run tests

% zig build test --summary all

License

MIT

About

A tiny scalar-valued autograd engine and a neural net library in Zig

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages