Skip to content
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

[ONNX] Fix an issue with #5755 and add Batch norm unit tests. #5845

Merged
merged 1 commit into from
Jun 18, 2020

Conversation

mbrookhart
Copy link
Contributor

@masahi

@jwfromm discovered an issue with #5755 , infer_value chokes on ops with multiple outputs. I already knew this for Tuple, this adds a work around to infer batch_norm with the following TupleGetItem node instead of by itself.

In adding a regression test, I discovered that the Onnx importer for batch norm wasn't tested, so I added a unit test for it.

Are you guys aware of any other multi-output ops that might suffer the same problem?

@jwfromm
Copy link
Contributor

jwfromm commented Jun 18, 2020

thanks for the fix, LGTM.

@tqchen tqchen merged commit d85efa1 into apache:master Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants