[Mlir-commits] [mlir] [mlir][python] Add bindings for mlirDenseElementsAttrGet (PR #91389)

Maksim Levental llvmlistbot at llvm.org
Tue May 7 16:13:04 PDT 2024


makslevental wrote:

Just curious, is the idea that you would do something like?

```
attrs = [FloatAttr.get(BF16Type.get(), 1.0), FloatAttr.get(BF16Type.get(), 2.0)]
```

?

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


More information about the Mlir-commits mailing list