-
Notifications
You must be signed in to change notification settings - Fork 88
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
Parse ONNX Expand to broadcast_with_dims
#2799
Conversation
… into dot_broadcast
… into dot_broadcast
…GraphX into dot_broadcast
… into dot_broadcast
… into dot_broadcast
What's the reason this was created as a separate op instead of extra functionality for the |
* input_tensor shape: lens = {2, 3}, strides = {3, 1} | ||
* dims = [4, 1, 3] | ||
* output shape: lens = {4, 2, 3}, strides = {0, 3, 1} | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this example make this one of the tests so we can have a 1:1 with expected behavior
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@CharlieL7 overall looks good. Move so change the one test with your example you mention in the code. You already have 100% coverage so more just change the test to mirror the docstring.
I've kicked off CI for you on this and the previous runs have been passing/without issue.
very messy that way, this way is cleaner |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you see the message about merging #2927 into this branch and making it part of this PR?
dot_broadcast
operator #2629broadcast_with_dims
that broadcasts a shape with the dimensions given as the second input.Expand
when the second input is not constant.