[Mlir-commits] [mlir] [mlir][sparse] Enable explicit and implicit value in sparse encoding (PR #88975)

Yinying Li llvmlistbot at llvm.org
Wed Apr 17 15:56:12 PDT 2024


================
@@ -18,10 +18,11 @@ def testEncodingAttr1D():
             "#sparse_tensor.encoding<{"
             "  map = (d0) -> (d0 : compressed),"
             "  posWidth = 16,"
-            "  crdWidth = 32"
+            "  crdWidth = 32,"
+            "  explicitVal = 1.0 : f64"
----------------
yinying-lisa-li wrote:

Nice! Thanks for the suggestion 🙂

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


More information about the Mlir-commits mailing list