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 dfb35f6 commit 0ca1d60Copy full SHA for 0ca1d60
tf2onnx/onnx_opset/generator.py
@@ -205,4 +205,4 @@ def version_8(cls, ctx, node, **kwargs):
205
dtypes = node.output_dtypes
206
ctx.remove_node(node.name)
207
for i, output in enumerate(outputs):
208
- ctx.add_graph_input(output, dtypes[i], [-1, -1, -1, -1] if shapes[i] is None else shapes[i])
+ ctx.add_graph_input(output, dtypes[i], shapes[i])
0 commit comments