跳至内容
返回顶部
SparseTensorType
-
class onnx_ir.SparseTensorType(dtype, *, denotation=None)
表示稀疏张量的类型。
- 参数:
-
-
denotation: str | None
-
display(*, page=False)
漂亮地打印对象。
- 参数:
page (bool) – 是否分页输出。
- 返回类型:
无
-
property dtype: DataType
-
property elem_type: DataType
返回张量类型的元素类型。