-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a StableHLO canonicalizer that rewrites transpose as reshape. (#1…
…4682) The canonicalization also "swallows" the TransposeOpCanon out of convenience, since the check has to happen either way (and a NoOp should take priority over different-op lowering).
- Loading branch information
1 parent
4f77c30
commit aef8d3c
Showing
2 changed files
with
56 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters