[mlir][python] provide bindings for ops from the sparse_tensor dialect
authorAlex Zinenko <zinenko@google.com>
Thu, 30 Sep 2021 13:09:30 +0000 (15:09 +0200)
committerAlex Zinenko <zinenko@google.com>
Thu, 30 Sep 2021 13:53:16 +0000 (15:53 +0200)
commit93a6b49d38af236a964492ac6de71d71e93a89a6
treeb310dcd40b8f1ec952689833790215ea3a19bec4
parentf9aa8623fe6d3b44e8a2b5b148c7fddaee71427b
[mlir][python] provide bindings for ops from the sparse_tensor dialect

Previously, the dialect was exposed for linking and pass management purposes,
but we did not generate op classes for it. Generate them.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D110819
mlir/python/CMakeLists.txt
mlir/python/mlir/dialects/SparseTensorOps.td [new file with mode: 0644]
mlir/python/mlir/dialects/sparse_tensor.py