[Mlir-commits] [mlir] [mlir][pybind] Support loading DenseElementsAttr of bools (PR #82868)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Feb 23 23:05:16 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Rob Suderman (rsuderman)

<details>
<summary>Changes</summary>

We were missing the python binding support for loading tensors of booleans from numpy arrays.

---
Full diff: https://github.com/llvm/llvm-project/pull/82868.diff


1 Files Affected:

- (modified) mlir/lib/Bindings/Python/IRAttributes.cpp (+2) 


``````````diff

``````````

</details>


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


More information about the Mlir-commits mailing list