[mlir][sparse][taco] Support reduction to scalar tensors.
The PyTACO DSL doesn't support reduction to scalars. This change enhances the MLIR-PyTACO implementation to support reduction to scalars. Extend an existing test to show the syntax of reduction to scalars and two methods to retrieve the scalar values. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D120572
parent
63bf2284
Please register or sign in to comment