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