GiorgosXou / NeuralNetworks

A resource-conscious neural network implementation for MCUs
MIT License
70 stars 21 forks source link

error: too many initializers for 'float (NeuralNetwork::Layer::* const [12])(const float&)' #21

Closed GiorgosXou closed 7 months ago

GiorgosXou commented 7 months ago

When using #define ACTIVATION__PER_LAYER without defining any function it automatically enablesALL_ACTIVATION_FUNCTIONS, accidently I forgot to change NUM_OF_USED_ACTIVATION_FUNCTIONS 12 to 14

https://github.com/GiorgosXou/NeuralNetworks/blob/31bb95e4cefcaefb28f6b031a634ded6c7274a7d/src/NeuralNetwork.h#L280