forked from openxla/xla
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[XLA:HloParser] Add a flag
set_to_default_entry_computation_layout
…
…with default value true. If it is false, do not overwrite the raw input with the default layout in entry_compuation_layout. If entry_compuation_layout is defined explicitly, we should exactly follow the raw definition. For instance, if the raw input has only shape and does not have layout, we should not set the default layout. If entry_compuation_layout is not defined explicitly, we still infer it from the parameter and root instructions of entry computation. The layout of these instructions can be either explicitly defined or the default one. PiperOrigin-RevId: 673159258
- Loading branch information
1 parent
be6b8f4
commit 81ba4c2
Showing
5 changed files
with
81 additions
and
38 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