Skip to content

Commit 0380561

Browse files
committed
Minor fix
1 parent 96cead0 commit 0380561

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tf2onnx/tfonnx.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ def rewrite_constant_fold(g, ops):
114114
if consumers:
115115
for consumer in consumers:
116116
g.replace_input(consumer, old_output_name, new_output_name)
117-
g.remove_node(old_node_name)
118117

119118
# keep looking until there is nothing we can fold.
120119
# We keep the graph in topological order so if we folded,

0 commit comments

Comments
 (0)