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

How to implement custom activation functions? #87

Open
phK3 opened this issue Nov 8, 2024 · 0 comments
Open

How to implement custom activation functions? #87

phK3 opened this issue Nov 8, 2024 · 0 comments

Comments

@phK3
Copy link

phK3 commented Nov 8, 2024

I want to implement new relaxations for existing activation functions/relaxations for new activation functions.

While there are links to some materials in the repo's README (custom op in auto_LiRPA doc and code for custom op example, these examples don't involve:

  • how to initialize parameters for optimizable slopes
  • how to handle patches (is there some documentation/a paper that explains how these patches work?) or
  • how to handle splitting.

Can you give me some hints or references to look into?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant