[Mlir-commits] [mlir] [mlir][Tosa] Fix attr type of out_shape for `tosa.transpose_conv2d` (PR #108041)

Eric Kunze llvmlistbot at llvm.org
Wed Sep 11 08:26:11 PDT 2024


================
@@ -352,7 +352,7 @@ def Tosa_TransposeConv2DOp : Tosa_InferShapedTypeOp<"transpose_conv2d"> {
 
     Tosa_IntArrayAttr4:$out_pad,
     Tosa_IntArrayAttr2:$stride,
-    Tosa_IntArrayAttrUpto4:$out_shape,
----------------
eric-k256 wrote:

The dialect (and docs) are outdated relative to the specification from here: https://git.mlplatform.org/tosa/specification.git/tree/tosa.xml#n633 (that's the unrendered version, apologies that it would be hard to read).

This new fix looks right to me for how the dialect is today. Thank you for fixing it.

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


More information about the Mlir-commits mailing list