Skip to content

Commit 6a54003

Browse files
committed
Removes specific case introduced for Const
1 parent 0b469c0 commit 6a54003

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tf2onnx/graph.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -674,10 +674,7 @@ def reset_nodes(self, ops):
674674
for op in ops:
675675
for op_output in op.output:
676676
self._output_to_node_name[op_output] = op.name
677-
if op.type == 'Const':
678-
inps = [op.name]
679-
else:
680-
inps = op.input
677+
inps = op.input
681678
for op_input in inps:
682679
self._register_input_name(op_input, op)
683680

0 commit comments

Comments
 (0)