Handle tensor copy, such as A[i, j] = B[i, j]. Also, handle trivial
reduction expression, such as A[i] = B[i, j].
Add unit tests.
Paths
| Differential D119867
[mlir][sparse][taco] Handle tensor copy and trivial reduction expression. ClosedPublic Authored by bixia on Feb 15 2022, 10:28 AM.
Details Summary Handle tensor copy, such as A[i, j] = B[i, j]. Also, handle trivial Add unit tests.
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Feb 15 2022, 2:14 PM Closed by commit rG746c68eafde3: [mlir][sparse][taco] Handle tensor copy and trivial reduction expression. (authored by bixia). · Explain WhyFeb 15 2022, 3:57 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 408958 mlir/test/Integration/Dialect/SparseTensor/taco/tools/mlir_pytaco.py
mlir/test/Integration/Dialect/SparseTensor/taco/unit_test_tensor_core.py
|
Here and below. It seems a bit odd to test indices with an "all close" since surely they are not subject to rounding errors. Can we make the test on indices just exact?