Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GiorgosXou opened this issue Mar 14, 2024 · 0 comments
Labels
Solved Solved but not closed until next version

Comments

@GiorgosXou
Copy link
Owner

That's why you should always make sure about comments in front of preprocessor-directives:

#define CUSTOM_AF1 my_sigmoid // My "custom" activation function
#define CUSTOM_DF1 // Comment to disable Derivative function

Just remove comments to fix it lol

@GiorgosXou GiorgosXou added the Solved Solved but not closed until next version label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Solved Solved but not closed until next version
Projects
None yet
Development

No branches or pull requests

1 participant