PyTACO DSL doesn't support the use of index values as in A[i] = B[i]+ i.
We extend the DSL to support such a use in MLIR-PyTACO.
Remove an obsolete unit test. Add unit tests and PyTACO tests.
| Paths 
 |  Differential  D121716  
[mlir][sparse][taco] Support the use of index values in tensor expressions. ClosedPublic Authored by bixia on Mar 15 2022, 9:50 AM. 
Details Summary PyTACO DSL doesn't support the use of index values as in A[i] = B[i]+ i. Remove an obsolete unit test. Add unit tests and PyTACO tests. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Mar 15 2022, 1:59 PM Comment Actions Add a test for conjunction. 
 Closed by commit rG3580721a59d9: [mlir][sparse][taco] Support the use of index values in tensor expressions. (authored by bixia).  ·  Explain WhyMar 15 2022, 3:31 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 415609 mlir/test/Integration/Dialect/SparseTensor/taco/test_simple_tensor_algebra.py
 mlir/test/Integration/Dialect/SparseTensor/taco/tools/mlir_pytaco.py
 mlir/test/Integration/Dialect/SparseTensor/taco/unit_test_tensor_core.py
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
how about one test with a "conjunction" as well, so it is only done for the nonzeros?
H[i] = F[i] * i