GiorgosXou / NeuralNetworks

A resource-conscious neural network implementation for MCUs
MIT License
74 stars 24 forks source link

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

Closed GiorgosXou closed 1 year ago

GiorgosXou commented 1 year 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