SparseTensorType¶ class onnx_ir.SparseTensorType(dtype, *, denotation=None)¶ A type that represents a sparse tensor. Parameters: dtype (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: DataType¶ Return the element type of the tensor type.