-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verify layout in InfeedOp #639
Labels
Comments
burmako
changed the title
Missing verification check for layout field of InfeedOp
Verify layout in InfeedOp
Dec 1, 2022
FYI:
Note: the above syntax assume the this representation of layouts. |
burmako
pushed a commit
that referenced
this issue
Dec 3, 2022
fixes #525 verification of infeed op is revisit based on #639 Note that for outfeed op we are using the output name as `results` based on the implicit name [introduced by the tablegen file](https://github.com/openxla/stablehlo/blob/dbf9964c6ce980e1976041700807bd94e6adf849/stablehlo/dialect/StablehloOps.td#L1030 ) even though it should be explicitly called out as `result` (singular). This will be addressed in #351 (comment), item 4.
GleasonK
pushed a commit
to GleasonK/stablehlo
that referenced
this issue
Dec 6, 2022
fixes openxla#525 verification of infeed op is revisit based on openxla#639 Note that for outfeed op we are using the output name as `results` based on the implicit name [introduced by the tablegen file](https://github.com/openxla/stablehlo/blob/dbf9964c6ce980e1976041700807bd94e6adf849/stablehlo/dialect/StablehloOps.td#L1030 ) even though it should be explicitly called out as `result` (singular). This will be addressed in openxla#351 (comment), item 4.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Missing the following check:
The size of layout entry for each operand should match the rank of the operand.
https://github.com/tensorflow/tensorflow/blob/094de67f996da201f89ceb33416ce0449b271c78/tensorflow/compiler/xla/translate/mhlo_to_hlo/mlir_hlo_to_hlo.cc#L2316
#629 is related as that will decide if we should support layout in StableHLO and how to model them.
The text was updated successfully, but these errors were encountered: