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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue May 21 13:50:33 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.
----------------
pranavm-nvidia wrote:

Added and suggested that using a buffer instead might be faster

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


More information about the Mlir-commits mailing list