Skip to content

Commit

Permalink
fixins
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewZhaoLuo committed Oct 14, 2022
1 parent 45b894a commit 1e29caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/relay/frontend/onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -5913,7 +5913,7 @@ def from_onnx(
for opset_identifier in model.opset_import:
# As per https://github.com/onnx/onnx/blob/main/docs/IR.md
# All operator sets except the default one must specify the operator version
if str(opset_identifier.name) in ["ai.onnx", ""]:
if str(opset_identifier.domain) in ["ai.onnx", ""]:
opset_in_model = opset_identifier.version
break
except AttributeError:
Expand Down

0 comments on commit 1e29caa

Please sign in to comment.