[Mlir-commits] [mlir] [mlir][sparse] support sparsifying batch levels (PR #83898)

Aart Bik llvmlistbot at llvm.org
Mon Mar 4 14:11:05 PST 2024


================
@@ -374,7 +374,7 @@ Level SparseTensorEncodingAttr::getLvlRank() const {
 
 LevelType SparseTensorEncodingAttr::getLvlType(Level l) const {
   if (!getImpl())
-    return LevelFormat::Dense;
+    return LevelFormat::Batch;
----------------
aartbik wrote:

is this right now? I guess this is better?

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


More information about the Mlir-commits mailing list