-
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
Added frontend for mindspore.ops.hardswish #21275
Conversation
Thanks for contributing to Ivy! 😊👏 |
@xoiga123 |
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 @yashj8, sorry for the late reply. Thank you for contributing to Ivy ⭐ The implementation seems good but maybe you haven't finished the test?
...ests/test_ivy/test_frontends/test_mindspore/test_ops/test_function/test_mindspore_nn_func.py
Outdated
Show resolved
Hide resolved
Hi @xoiga123! |
"2.0 and below": ( | ||
"int8", | ||
"int16", | ||
"int32", | ||
"int64", | ||
"float16", | ||
"float32", | ||
"float64", | ||
) |
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.
Sorry I haven't noticed this before in the earlier review, but where did you find this info? It sounds correct but I can't seem to find it anywhere in their docs or code...
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.
In the documentation it says :
Raises
Type Error– If dtype of x is not int or float
So I inferred from that to use all possible int and float that mindspore supports (just like numpy)
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.
Got it, thank you!
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.
Please let me know of any further requirements 😄
Hello @satakshigarg! Can you please take a look at it and let me know of any required changes? This PR is awaiting review from you for a while. |
Thanks @yashj8 for your contributions !! Keep contributing 😃 |
Thanks a lot @satakshigarg !!😄 Looking forward to many more down the line.. |
Close #21274