a micrograd implementation in c++
micrograd is an autograd engine that implements backpropagation (reverse-mode autodiff) over a dynamically built DAG
clone the repo
git clone --recursive https://github.com/puravparab/micrograd-cpp.git
cd micrograd-cpp
run with bash script
chmod +x run.sh
./run.sh
or
g++ -std=c++14 -o build/micrograd main.cpp engine.cpp nn.cpp
build google test
chmod +x build_gtest.sh
./build_gtest.sh
compile and run tests
chmod +x run_tests.sh
./run_tests.sh