forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GlobalOpt] Improve unary elementwise propagation to consider broadca…
…sted operands (iree-org#17903) For binary (or more operands) elementwise operations, if one of the operands is broadcasted or otherwise unaffected by a transposition, then it can effectively be treated like a unary elementwise operation for the purpose of propagation because propagating the transpose would introduce only one additional transpose on the input operand. This improves the unary elementwise propagation patterns to handle such cases.
- Loading branch information
Showing
3 changed files
with
352 additions
and
39 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
Oops, something went wrong.