TensorType¶

class onnx_ir.TensorType(dtype, *, denotation=None)¶

A type that represents a tensor.

Parameters:
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.