Skip to content

Commit

Permalink
Update util.py
Browse files Browse the repository at this point in the history
test pipeline trigger
  • Loading branch information
wenbingl authored Jan 10, 2024
1 parent 5a08792 commit 2fb13d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions onnxruntime_extensions/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ def quick_merge(*models, connection_indices=None):
io_map = [(models[model_idx - 1].graph.output[out_idx].name, model.graph.input[in_idx].name)
for out_idx, in_idx in connection_indices[model_idx - 1]]

merged_graph = onnx.compose.merge_graphs(
merged_graph, model.graph, io_map)
merged_graph = onnx.compose.merge_graphs(merged_graph, model.graph, io_map)

for opset in model.opset_import:
if not opset.domain:
Expand Down

0 comments on commit 2fb13d8

Please sign in to comment.