Skip to content

Commit 75fcb7d

Browse files
committed
refactor
1 parent 2a770d8 commit 75fcb7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tf2onnx/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ def reset_nodes(self, ops):
578578
def is_empty_input(self, name):
579579
# in ONNX, operation may have optional input and an empty string may be used
580580
# in the place of an actual argument's name to indicate a missing argument
581-
return name == ""
581+
return name == utils.ONNX_EMPTY_INPUT
582582

583583
def check_integrity(self):
584584
"""

0 commit comments

Comments
 (0)