Skip to content

Commit ff57d09

Browse files
committed
docs
Signed-off-by: Justin Chu <[email protected]>
1 parent 9e4dbb0 commit ff57d09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

onnxscript/optimizer/_constant_folding.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,7 @@ def get_type(value: ir.Value) -> onnx.TypeProto | None:
10491049
)
10501050

10511051
def _new_unknown_dim_name(self) -> str:
1052+
"""Generate a new unique name for an unknown (None) symbolic dimension."""
10521053
name = f"unknown_{self._unknown_dim_count}"
10531054
self._unknown_dim_count += 1
10541055
return name

0 commit comments

Comments
 (0)