[Mlir-commits] [mlir] [MLIR, Python] Support converting boolean numpy arrays to and from mlir attributes (PR #113064)

Maksim Levental llvmlistbot at llvm.org
Tue Nov 5 07:14:21 PST 2024


makslevental wrote:

here's the dance you have to do to release https://github.com/llvm/llvm-project/blob/6b64f365364a6bf9a0ae039f6115871bc3b8ce07/mlir/lib/Bindings/Python/IRAttributes.cpp#L1228-L1239 but you will also have to think about https://pybind11.readthedocs.io/en/stable/advanced/functions.html#return-value-policies

I'll try to reason it out ~tomorrow

https://github.com/llvm/llvm-project/pull/113064


More information about the Mlir-commits mailing list