[Mlir-commits] [mlir] [mlir][sparse] unify sparse_tensor.out rewriting rules (PR #70518)
Aart Bik
llvmlistbot at llvm.org
Fri Oct 27 16:14:02 PDT 2023
================
@@ -29,29 +29,36 @@ def boilerplate(attr: st.EncodingAttr):
"""
-def expected():
+def expected(id_map):
"""Returns expected contents of output.
Regardless of the dimension ordering, compression, and bitwidths that are
used in the sparse tensor, the output is always lexicographically sorted
by natural index order.
----------------
aartbik wrote:
this comment needs to be updated: output appears as dimension coordinates but lexicographically sorted by level coordinates
https://github.com/llvm/llvm-project/pull/70518
More information about the Mlir-commits
mailing list