GiorgosXou / NeuralNetworks

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

Custom activation function example error: "Der" does not give a valid preprocessing token #29

Closed GiorgosXou closed 3 months ago

GiorgosXou commented 3 months ago

That's why you should always make sure about comments in front of preprocessor-directives: https://github.com/GiorgosXou/NeuralNetworks/blob/da5b5af6d0f744c5c25b4879ab0987bf94318c0d/examples/Other/Custom_activation_function/Custom_activation_function.ino#L3-L4

Just remove comments to fix it lol