llvm-project/mlir/lib/Bindings
zhanghb97 77133b29b9 [mlir] Get array from the dense elements attribute with buffer protocol.
- Add `mlirElementsAttrGetType` C API.
- Add `def_buffer` binding to PyDenseElementsAttribute.
- Implement the protocol to access the buffer.

Differential Revision: https://reviews.llvm.org/D91021
2020-11-18 15:50:59 +08:00
..
Python [mlir] Get array from the dense elements attribute with buffer protocol. 2020-11-18 15:50:59 +08:00
CMakeLists.txt