[Mlir-commits] [mlir] [MLIR][Python] Add structured.fuseop to generator. (PR #120601)

Hugo Trachino llvmlistbot at llvm.org
Fri Jan 3 02:34:09 PST 2025


================
@@ -140,6 +140,57 @@ def __init__(
         )
 
 
+ at _ods_cext.register_operation(_Dialect, replace=True)
+class FuseOp(FuseOp):
+    """Specialization for FuseOp class."""
+
+    @overload
+    def __init__(
+        self,
+        target: Union[Operation, Value, OpView],
+        *,
+        sizes: Optional[Union[DynamicIndexList, ArrayAttr]] = None,
+        interchange: OptionalIntList = None,
+        loc=None,
+        ip=None,
+    ):
+        ...
----------------
nujaa wrote:

Added an overload setting output types.

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


More information about the Mlir-commits mailing list