Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mhlo] Clean up ops that can use InferTensorTypeWithReify
This means we can get rid of custom builders and return type inference. This all goes through inferReturnTypeComponents now, so fix obvious bugs in those implementations. There should be no behaviorial change. However, python bindings no longer generate a result type builder for mhlo.CompareOp, which is unfortunate. PiperOrigin-RevId: 438341237
- Loading branch information
Showing
3 changed files
with
61 additions
and
80 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
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