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

Maksim Levental llvmlistbot at llvm.org
Tue May 21 13:36:36 PDT 2024


================
@@ -72,6 +72,23 @@ or 255), then a splat will be created.
     type or if the buffer does not meet expectations.
 )";
 
+static const char kDenseElementsAttrGetFromListDocstring[] =
+    R"(Gets a DenseElementsAttr from a Python list of attributes.
----------------
makslevental wrote:

nit: maybe put a small note here about "this is expensive YMMV"

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


More information about the Mlir-commits mailing list