Skip to content

Commit

Permalink
Revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
neNasko1 committed Dec 2, 2024
1 parent 6a0f6ae commit aaa25a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spox/_adapt.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def adapt_inline(
base_model = node.model
try:
node.model = target_model
target_nodes = node.to_onnx(Scope.of((node_name, node), *var_names.items()))
target_nodes = node.to_onnx(Scope.of((node, node_name), *var_names.items()))
finally:
node.model = base_model
return target_nodes
Expand Down

0 comments on commit aaa25a0

Please sign in to comment.