-
Notifications
You must be signed in to change notification settings - Fork 505
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
Lower celu, celu_, selu, and selu_ #3547
Conversation
This should be ready for a quick review, @JackCaoG. Thanks! |
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.
mostly lgtm
Thanks for the comments, @JackCaoG! For some reason, if I remove |
Can you check For example for
this allow us to implement one lowering. |
Interestingly I don't see the in-place version getting automatically generated. Here is how the
However, I don't see one auto-generated for |
@bdhirsh do we know what's the prerequisite for a inplace op to be generated? |
oh, it's because Manually writing the two Caveat: The functionalization pass in core will still correctly functionalize |
oh, ok. Let's keep |
Thanks for the clarification, @bdhirsh! Just did a hard reset to the commit before I removed the in-place ops. |
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.
Thanks!
Lower celu, celu_, selu, and selu_.
Trying to fix the newly introduced test failures due to #3539. This PR lowers
celu
,celu_
,selu
, andselu_
into separate lowerings.Once this PR merges, I'll rebase the above PR and fix its tests.