-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Hardtanh #24152
Hardtanh #24152
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Compliance Checks
Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.
Conventional Commit PR Title
In order to be considered for merging, the pull request title must match the specification in conventional commits. You can edit the title in order for this check to pass.
Most often, our PR titles are something like one of these:
- docs: correct typo in README
- feat: implement dark mode"
- fix: correct remove button behavior
Linting Errors
- Found type "null", must be one of "feat","fix","docs","style","refactor","perf","test","build","ci","chore","revert"
- No subject found
Thank you so much for your contribution! 😊 |
@@ -933,3 +933,137 @@ def elu( | |||
map_sequences=map_sequences, | |||
out=out, | |||
) | |||
|
|||
@staticmethod | |||
def _static_hardtaanh( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe change to _static_hardtanh
.
in this PR i have implemented the hardtanh activation function for ivy experimental api.
I have implemented the hardtanh activation function for the both ivy data class ivy.array and ivy.container with all the backend tensorflow , torch , jax, numpy, paddle. it is passing all the test cases. below i have ateched the s.s of result of tests.
Close #23688
Checklist