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

feat: implemented hardsilu activation function #26847

Closed
wants to merge 6 commits into from
Closed

feat: implemented hardsilu activation function #26847

wants to merge 6 commits into from

Conversation

leebissessar5
Copy link
Contributor

@leebissessar5 leebissessar5 commented Oct 9, 2023

PR Description

I have implemented the hardsilu activation for tensorflow, numpy, torch, paddle, and jax. See the attached image below showing the test results in PyCharm.

Test output

Only issue is that the jax test is not passing, but this happens with other existing activations in the repo because I'm getting the KeyError issue. I tried versions lower than 0.4.18 and they all give another error mentioning something about circular import. Note that I'm using a conda environment due to issues with Docker. I asked for help on Discord but it seems no one knows how to address any of these issues yet.

Related Issue

Close #26741

Checklist

  • Did you add a function?
  • Did you add the tests?
  • Did you run your tests and are your tests passing?
  • Did pre-commit not fail on any check?
  • Did you follow the steps we provided?

@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2023

Thank you for this PR, here is the CI results:


This pull request does not result in any additional test failures. Congratulations!

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Compliance Checks Passed!

@leebissessar5 leebissessar5 marked this pull request as ready for review October 9, 2023 22:54
@ivy-leaves ivy-leaves added Array API Conform to the Array API Standard, created by The Consortium for Python Data API Standards Ivy API Experimental Run CI for testing API experimental/New feature or request PaddlePaddle Backend Developing the Paddle Paddle Backend. Ivy Functional API labels Oct 9, 2023
@ivy-seed ivy-seed assigned kgmann and aparajith21 and unassigned kgmann Oct 9, 2023
Copy link
Contributor

@aparajith21 aparajith21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for contributing. Please remove all of the files inside .idea, they are not to be merged.

@aparajith21
Copy link
Contributor

Hi, please don't delete the .idea files either- they are present in the Ivy repository. When I requested you to remove .idea files, I didn't mean delete, but rather revert any changes you are making and leave them as is. Sorry if this was not clear. Further, please resolve merge conflicts and I shall review again!

@KareemMAX
Copy link
Contributor

Hello,

I think this PR is unactive for a little while, so I'll close it for now. If you want to continue working on it in the future please feel free to open it and start working.

Thanks and happy contributing 😊

@KareemMAX KareemMAX closed this Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Array API Conform to the Array API Standard, created by The Consortium for Python Data API Standards Ivy API Experimental Run CI for testing API experimental/New feature or request Ivy Functional API PaddlePaddle Backend Developing the Paddle Paddle Backend.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hardsilu
6 participants