Cranium
Cranium copied to clipboard
🤖 A portable, header-only, artificial neural network library written in C99
There is a small typo in src/matrix.h. Should read `multiplication` rather than `multiplcation`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md
Cannot be compiled with MSVC. Fix: variable length arrays declared on stack can be replaced with memory allocation using alloca(), e.g. `Matrix* errori[network->numLayers];` declaration in batchGradientDescent() (optimizer.h) can be replaced...
Changing method in name in "network.h"
Such as the various ReLU variants This entails adding the raw functions for them as well as adding entries for them in the serialization/deserialization functions
Would you like to add more error handling for return values from functions like the following? - [malloc](http://pubs.opengroup.org/onlinepubs/9699919799/functions/malloc.html "Memory allocation") ⇒ [createLayer](https://github.com/100/Cranium/blob/4c1d028a4f9e897a3f709a6b92cae414eba6ee59/src/layer.h#L56) - [printf](http://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html "Print formatted output") ⇒ [printMatrix](https://github.com/100/Cranium/blob/7d5c219c9bd62b4a92bda712c374cc786c9be0ed/src/matrix.h#L137)
All functions, macros and datatypes defined by cranium should have a prefix associated with them to avoid having cranium and another library's defined functions conflict during compilation. For example, you...
# Summary This pull request introduces a CodeQL workflow to enhance the security analysis of this repository. # What is CodeQL CodeQL is a static analysis tool that helps identify...
I have rewritten it to work on everything. GPU, Tensorflow, Eigen, PyTorch. You name it, cranium now works on it. Thanks for you neural network.