Skip to content

Commit 046618c

Browse files
committed
Update tensor.py
1 parent 8d5984b commit 046618c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tf2onnx/onnx_opset/tensor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ def version_1(cls, ctx, node, **kwargs):
266266
removed_indices.append(i)
267267
for i in reverse(removed_indices):
268268
ctx.remove_input(node, node.input[i], i)
269-
ctx.remove_input(node, node.input[i], i)
270269
# all inputs are deleted
271270
if not node.input:
272271
raise RuntimeError("all inputs of {} are empty".format(node.name))

0 commit comments

Comments
 (0)