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

Upgrade op_version to pass onnx initializer checker #146

Merged
merged 3 commits into from
Sep 24, 2020

Conversation

jiafatom
Copy link
Contributor

@jiafatom jiafatom commented Sep 24, 2020

If op_version < 8 and target_default_opset is not None and target_default_opset >= 8, onnx.checker would fail here, because graph does not have initializer in inputs, but opv < 8 suggests to do so. In this case, we need upgrade opv to the least opset that requires, which is 8.

@jiafatom jiafatom requested a review from wenbingl September 24, 2020 14:58
@jiafatom jiafatom changed the title Upgrade opv to pass onnx initializer checker Upgrade op_version to pass onnx initializer checker Sep 24, 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.

2 participants