Skip to content

Layyser/mini-autodiff

Repository files navigation

Mini-autodiff

Summary

Mini-autodiff is my first implementation of an automatic differentiation engine. It currently supports computational graphs, backpropagation, memory pooling, broadcasting, optimization, and loss functions. A small main example is included to test the system.

The goal of this project is to keep everything minimal, simple, and educational. It is not yet optimized for large workloads (e.g., CPU/GPU parallelization), but I plan to explore these optimizations in the future and document the process.

For learners

The repository also includes a blog.md that explains how the engine works and introduces the core ideas behind automatic differentiation. It follows my journey building the system and aims to make the concepts intuitive for newcomers.


Published under the MIT License.

About

**Currently in develop** Minimal C++ autodifferentation engine. It contains a blog.md explaining how it works, and giving a friendly introduction to autidfferentation engines. Covers my journey building it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors