Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 539 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 539 Bytes

micrograd-rs

About

Rust rewrite of Andrej Karpathy's Python micrograd repo for self-study.

Dependencies

  • Rust compiler
  • Built and tested on rustc 1.65.0
  • Cargo crates

Contents

  • autograd.rs contains a simple graph-like data structure of nodes called Parameters
  • nn.rs contains definitions for Neuron, Layer and MLP, building on top of Parameter definitions
  • math.rs has util functions
  • main.rs has example training code for MLP displaying that it works