[Mlir-commits] [mlir] [mlir][sparse] Fix errors in doc and tests (PR #68641)

Aart Bik llvmlistbot at llvm.org
Mon Oct 9 15:22:42 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`.
+    Within the sparse storage format, we refer to indices that are stored explicitly
----------------
aartbik wrote:

Maybe an empty line before this, it really is a new paragraph.

https://github.com/llvm/llvm-project/pull/68641


More information about the Mlir-commits mailing list