[Mlir-commits] [mlir] [mlir][tosa] Remove out_shape from transpose_conv2d (PR #129133)

Georgios Pinitas llvmlistbot at llvm.org
Fri Feb 28 05:18:06 PST 2025


================
@@ -2327,9 +2327,7 @@ LogicalResult TransposeConv2DOp::inferReturnTypeComponents(
     MLIRContext *context, ::std::optional<Location> location,
     TransposeConv2DOp::Adaptor adaptor,
     SmallVectorImpl<ShapedTypeComponents> &inferredReturnShapes) {
-  // outputShape is mutable.
-  llvm::SmallVector<int64_t> outputShape =
-      convertToMlirShape(adaptor.getOutShape());
+  llvm::SmallVector<int64_t> outputShape(4, ShapedType::kDynamic);
----------------
GeorgeARM wrote:

Naive question. Is there already  shape inference support and validation for this change in place?

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


More information about the Mlir-commits mailing list