-
Notifications
You must be signed in to change notification settings - Fork 120
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
Standardize naming #351
Comments
Some ops have inconsistent naming with our standard e.g. using "output" instead of "result" in the ODS. The spec, ODS example, and pretty-print currently defaults to "result" even if the ODS name is "output". These ops are (in no particular order):
|
Thank you, Sandeep, for discovering and documenting this in #351!
Thank you, Sandeep, for discovering and documenting this in openxla#351!
Looks like |
Some more ideas for standardizing names:
|
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.
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.
The mnemonic for CrossReplicaSumOp is |
Naming affects serialization, and this changes the project for this ticket from the P1 priority Public API to the P0 priority Specification Compliance. We'll need to sort this out before the release of v1.0. |
Another instance where naming can improve in TupleOp. |
Request description
The need for such a ticket initiated in #335 (comment).
Let us use this ticket to collect opportunities to apply uniform naming across various StableHLO artifacts like the entities in the ODS.
From #335 (review)
The text was updated successfully, but these errors were encountered: