-
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
frontends.tensorflow.activations: add support for elu and selu #5400
Conversation
@hmahmood24, the tests for |
Hi @YushaArif99, Thanks for the response. I have looked into the points you made and here is what I think:
Looking forward to a review from you. Thanks! 😊 |
Hi @hmahmood24 Thanks a lot for the detailed response! Although the points you've highlighted make complete sense, It is odd that you had to modify the Perhaps it was caused by the latest commit that was made which changed the implementation of the Although your change does seem logical, It might cause some unwanted bugs elsewhere which is why I'll request someone else in the team to review the changes as well just to be safe. Other than that, everything seems fine and the PR is ready to be merged. |
@sherry30 could you kindly take a look at this PR and ensure that everything is ready to be merged? |
Thanks for the apt response @YushaArif99! |
ivy_tests/test_ivy/test_frontends/test_tensorflow/test_activations.py
Outdated
Show resolved
Hide resolved
ivy_tests/test_ivy/test_frontends/test_tensorflow/test_activations.py
Outdated
Show resolved
Hide resolved
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.
Hi @hmahmood24
Sorry for the late-than-usual reply. Was swamped with work so reviewing this PR completely slipped under my radar.
Given that I still haven't gotten a review from @sherry30, It's better to approve your changes and merge the PR rather than keep you waiting. The removal of the einops
condition from the data_type.py
seems logical to me and I'm honestly not sure why that condition was there in the first place 😅.
Could you kindly resolve the merge conflicts so that the PR is ready to be merged?
Hi @YushaArif99, It's alright. I can understand. Thanks for responding to my commits. I have made the changes you requested and additionally merged the conflicts with the master branch so that the PR can be merged accordingly. Let me know if there is anything else from my end. Thanks! 😊 |
@hmahmood24 Thanks for making the changes. I will now merge the PR. |
* ivy.Container namedtuple repr * adding in the requested changes * Added TruncateDiv to raw_ops (#5415) Co-authored-by: Saeed Ashraf <[email protected]> * adding in the requested changes * added tan to torch frontend and tested (#5640) Co-authored-by: jkeane508 <[email protected]> * fix concat + tensorflow out type hints * condition 2 satisfied' * fixed firstlayersiren overflow with safety factor * fixed FirstLayerSiren test (safety factor) * firstLayerSiren safety factor log mode * Adding Container Tests * frontends.tensorflow.activations: add support for elu and selu (#5400) * frontends.tensorflow.activations: add support for elu and selu * frontends.tf.activations: fix dtypes for elu and selu * frontends.tf.activations: cast to dtypes * frontends: add support for flagging dict-based dtypes * update test_activations to reflect namespace changes Co-authored-by: Yusha Arif <[email protected]> Haris Mahmood <[email protected]> * add backticks to docstrings * adding in the requested changes * adding in the requested changes * shape refactor Co-authored-by: Kareem Morsy <[email protected]> Co-authored-by: Saeed Ashraf <[email protected]> Co-authored-by: PaoloCatti <[email protected]> Co-authored-by: jkeane508 <[email protected]> Co-authored-by: Matt <[email protected]> Co-authored-by: Oliver Toh <[email protected]> Co-authored-by: Haris Mahmood <[email protected]> Co-authored-by: Yusha Arif <[email protected]> Haris Mahmood <[email protected]>
Close #5387
Close #5388