micrograd++: A 500 line C++ Machine Learning Library
micrograd++: A 500 line C++ Machine Learning Library Gautam Sharma Independent Researcher gautamsharma2813@gmail.com Abstract—micrograd++ is a pure C++ machine learning li- brary inspired by Andrej Karpathy’s the first choice in that front. This library changes that by providing: • Modern C++ features: micrograd++ is written entirely in C++17. • Smart pointers: This library is memory safe. • Header only: No removing all the comments, micrograd++ comes out to be < 500 lines. When compiled with the highest optimization -O3, the static library comes out to be 122KB. Currently, micrograd++ is only supported on CPU0 码力 | 3 页 | 1.73 MB | 5 月前3
共 1 条
- 1