Add operations -, abs, ceil and floor to the index notation.
Add test cases.
Paths
| Differential D121388
[mlir][sparse][taco] Add a few unary operations. ClosedPublic Authored by bixia on Mar 10 2022, 9:48 AM.
Details
Summary Add operations -, abs, ceil and floor to the index notation. Add test cases.
Diff Detail
Event Timelineaartbik added inline comments.
This revision is now accepted and ready to land.Mar 10 2022, 11:51 AM Closed by commit rG30c5269d9325: [mlir][sparse][taco] Add a few unary operations. (authored by bixia). · Explain WhyMar 11 2022, 8:09 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 414515 mlir/test/Integration/Dialect/SparseTensor/taco/test_tensor_unary_ops.py
mlir/test/Integration/Dialect/SparseTensor/taco/tools/mlir_pytaco.py
mlir/test/Integration/Dialect/SparseTensor/taco/tools/mlir_pytaco_api.py
|
very neat to see all these new ops!