Skip to content

Modify OneHot operator explanation #5197

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

Merged
merged 1 commit into from
May 4, 2023
Merged

Modify OneHot operator explanation #5197

merged 1 commit into from
May 4, 2023

Conversation

andembry
Copy link
Contributor

@andembry andembry commented May 3, 2023

referring to https://github.com/onnx/onnx/blob/main/onnx/defs/tensor/defs.cc#L2676-L2683

Description

Onehot operator should support scalar and tensor with rank 1 both for depth input.

Previous PR by my teammate was here. I made the changes mentioned by @xadupre in that PR: modified Operators.md, built the package and ran gen_doc.py, and signed the commit.

Motivation and Context

@andembry andembry requested a review from a team as a code owner May 3, 2023 18:34
@andembry
Copy link
Contributor Author

andembry commented May 3, 2023

I see there is one python3.7 test failure. I don't see how these doc changes could've caused that, but at any rate it should be resolved by the python3.7 EOL PR.

Copy link
Member

@jcwchen jcwchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see there is one python3.7 test failure. I don't see how these doc changes could've caused that, but at any rate it should be resolved by the #5191.

I rerun the CI and now that one has passed. Thanks for improving the document!

@jcwchen jcwchen added topic: documentation Issues related to ONNX documentation topic: spec clarification Clarification of the ONNX spec needed labels May 4, 2023
@jcwchen jcwchen merged commit ebb64fc into onnx:main May 4, 2023
adityagoel4512 pushed a commit to adityagoel4512/onnx that referenced this pull request May 9, 2023
Signed-off-by: Bryan Anderson <andembry@amazon.com>
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
adityagoel4512 pushed a commit to adityagoel4512/onnx that referenced this pull request Jul 28, 2023
Signed-off-by: Bryan Anderson <andembry@amazon.com>
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: documentation Issues related to ONNX documentation topic: spec clarification Clarification of the ONNX spec needed
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants