[Mlir-commits] [mlir] [mlir][sparse] Enable explicit and implicit value in sparse encoding (PR #88975)
Yinying Li
llvmlistbot at llvm.org
Thu Apr 18 14:48:46 PDT 2024
================
@@ -183,6 +183,16 @@ def SparseTensorEncodingAttr : SparseTensor_Attr<"SparseTensorEncoding",
coordinate over all levels). The choices are `8`, `16`, `32`,
`64`, or, the default, `0` to indicate a native bitwidth.
+ - The explicit value for the sparse tensor. If explicitVal is set,
+ then all the non-zero values in the tensor have the same explicit value.
+ The default value Attribute() indicates that it is not set.
----------------
yinying-lisa-li wrote:
How about now?
https://github.com/llvm/llvm-project/pull/88975
More information about the Mlir-commits
mailing list