-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[XLA] Add option to unconditionally simplify reduce(transpose(x)) and…
… reduce(reshape(x)). Previously we were careful about this. We would do it only if the result would be that the transpose in question went away entirely. The problem with this approach is that it blocks other optimizations, like transpose-mover, from operating on the transpose. Those optimizations can't move transpose "through" reduce, so they need algsimp to do this first. PiperOrigin-RevId: 520451644
- Loading branch information
Justin Lebar
authored and
Copybara-Service
committed
Mar 29, 2023
1 parent
1797b37
commit 4195a90
Showing
5 changed files
with
153 additions
and
13 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
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