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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Feb 26 10:31:01 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r bb180856ec28efe305dc77ca4bb3db12d8932edf...c4d730653f7343a6971a75b524bf1b5c6ea87f4c mlir/test/python/ir/array_attributes.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- array_attributes.py	2024-02-26 18:27:40.000000 +0000
+++ array_attributes.py	2024-02-26 18:30:53.146657 +0000
@@ -145,10 +145,11 @@
 ################################################################################
 # Tests of the array/buffer .get() factory method, in all of its permutations.
 ################################################################################
 
 ### explicitly provided types
+
 
 @run
 def testGetDenseElementsI1():
     with Context():
         array = np.array([[True, False, True], [False, False, True]], dtype=np._bool)

``````````

</details>


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


More information about the Mlir-commits mailing list