-
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
[NewIR] support symbol overload #57164
[NewIR] support symbol overload #57164
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
.def("__truediv__", | ||
[](OpResult &self, OpResult &other) { | ||
return paddle::dialect::divide(self, other); | ||
}) |
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.
比较类运算符是否也需要
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.
后续可以添上
851885b
851885b
to
d43497e
Compare
d43497e
to
6406349
Compare
* add symbol overload * add test case * fix code
PR types
New features
PR changes
Others
Description
Pcard-66975
Support Opresult symbol overload: +(add), -(subtract) , *(multiply), /(divide) ,-(scale)