[Mlir-commits] [mlir] [mlir][linalg] Add TransposeConv2D Pass (PR #68567)

Andrzej WarzyƄski llvmlistbot at llvm.org
Mon Oct 16 08:31:23 PDT 2023


================
@@ -145,4 +145,10 @@ def LinalgDetensorize : InterfacePass<"linalg-detensorize", "FunctionOpInterface
   ];
 }
 
+def LinalgTransposeConv2D : Pass<"linalg-transpose-conv2d-ops"> {
+  let summary = "Convert conv_2d_nhwc_fhwc to conv_2d_nhwc_hwcf by transposing the weights.";
----------------
banach-space wrote:

What's the definition of `weights` in this context? Most people refer to "kernel" (which IMHO is ambiguous) or "filter" for the 2nd input tensor. Is that what you meant?

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


More information about the Mlir-commits mailing list