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
Add folder pattern for AddOp and MulOp #53553
Add folder pattern for AddOp and MulOp #53553
Conversation
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.
I was going to ask about the equivalent of https://llvm.discourse.group/t/canonicalization-of-x-0-0-in-tosa/4760 , but I see for HLOs we don't consider this.
There are some models lowered from tf dialect or torch_xla, they are not lowered from tosa. So I think these folders are meaningful. |
3f60589
to
f06d914
Compare
Imported from GitHub PR tensorflow/tensorflow#53553 Add folder pattern: * mhlo.add(%0, 0) -> %0 * mhlo.mul(%0, 1) -> %0 Copybara import of the project: -- f06d914657484570be0aff4aa159cec4c4e98334 by liuyuanqiang <yuanqiangliu@pku.edu.cn>: Add folder pattern for AddOp and MulOp PiperOrigin-RevId: 419128218
Add folder pattern: