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 9e4dbb0 commit ff57d09Copy full SHA for ff57d09
onnxscript/optimizer/_constant_folding.py
@@ -1049,6 +1049,7 @@ def get_type(value: ir.Value) -> onnx.TypeProto | None:
1049
)
1050
1051
def _new_unknown_dim_name(self) -> str:
1052
+ """Generate a new unique name for an unknown (None) symbolic dimension."""
1053
name = f"unknown_{self._unknown_dim_count}"
1054
self._unknown_dim_count += 1
1055
return name
0 commit comments