OptionalType¶ class onnx_ir.OptionalType(elem_type: TypeProtocol, *, denotation: str | None = None)¶ A type that represents an optional element. denotation: str | None¶ display(*, page: bool = False) → None¶ Pretty print the object. Parameters: page – Whether to page the output. property dtype: DataType¶ property elem_type: TypeProtocol¶