[Mlir-commits] [mlir] [mlir][sparse] Fix errors in doc and tests (PR #68641)
Yinying Li
llvmlistbot at llvm.org
Mon Oct 9 15:18:03 PDT 2023
================
@@ -133,9 +133,9 @@ def SparseTensorEncodingAttr : SparseTensor_Attr<"SparseTensorEncoding",
level-expressions collectively define an affine map from dimension-coordinates to
level-coordinates. The dimension-expressions collectively define the inverse map,
which only needs to be provided for elaborate cases where it cannot be inferred
- automatically. Within the sparse storage format, we refer to indices that are
- stored explicitly as **coordinates** and offsets into the storage format as
- **positions**.
+ automatically. Each dimension could also have an optional `SparseTensorDimSliceAttr`.
----------------
yinying-lisa-li wrote:
since slice is not an optional array anymore,I fee like we should talk about it with dimension before going into levels. Please let me know if you have better ideas of where to put it.
https://github.com/llvm/llvm-project/pull/68641
More information about the Mlir-commits
mailing list