We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c67bcfb commit 5edf63dCopy full SHA for 5edf63d
tf2onnx/graph.py
@@ -751,10 +751,10 @@ def reset_nodes(self, ops):
751
752
for n in self.inputs:
753
if n not in ops:
754
- raise ValueError("graph input " + n + " not exist")
+ raise ValueError("graph input '" + n.name + "' not exist")
755
for o in self.outputs:
756
if o not in self._output_to_node_name:
757
- raise ValueError("graph output " + o + " not exist")
+ raise ValueError("graph output '" + o.name + "' not exist")
758
759
self._dtypes = remained_dtypes
760
self._output_shapes = remained_shapes
0 commit comments