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

[Relax][Frontend][ONNX]fix onnx frontend parse #16395

Merged
merged 1 commit into from
Jan 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix onnx frontend
  • Loading branch information
cheng wen committed Jan 12, 2024
commit 4fd3cef870d8cec12a278bb5bbddeedd2493043a
2 changes: 1 addition & 1 deletion python/tvm/relax/frontend/onnx/onnx_frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1983,8 +1983,8 @@ def from_onnx(self, graph: onnx.onnx_ml_pb2.ModelProto, opset: int) -> IRModule:
with self.bb.function("main"):
with self.bb.dataflow() as df: # pylint: disable=invalid-name, unused-variable
self.opset = opset
self._parse_graph_input(graph)
self._parse_graph_initializers(graph)
self._parse_graph_input(graph)
self._check_for_unsupported_ops(graph)
self._construct_nodes(graph)

Expand Down
Loading