A framework to develop neural networks on CPP. This is for educational purpose to understand how neural networks work from scratch. his framework uses xtensor library.
to compile this program use
cmake -S . -B build
make -C build/
This assumes you have xtensor and xtl libraries installed on your machine. If not please follow these instructions and install them
https://xtensor.readthedocs.io/en/latest/installation.html#
- Clone the repo. Make changes to the find package in cmakelists file.
- Ensure it points to the right directory for xtensor and xtl
- Change values of the objects in main.cpp
- Build using
make -C build/
- Run the program with
./build/main
This model weights are not saved. https://www.sharpsightlabs.com/blog/numpy-axes-explained/#numpy-axes-quick-explanation
The model uses initialization from three research papers