SymbolicDim¶

class onnx_ir.SymbolicDim(value)¶

Immutable symbolic dimension that can be shared across multiple shapes.

SymbolicDim is used to represent a symbolic (non-integer) dimension in a tensor shape. It is immutable and can be compared or hashed.

Parameters:

value (str | None)

display(*, page=False)¶

Pretty print the object.

Parameters:

page (bool) – Whether to page the output.

Return type:

None

property value: str | None¶

The value of the symbolic dimension (string or None).