[Mlir-commits] [mlir] [mlir][tosa] Remove out_shape from transpose_conv2d (PR #129133)
Luke Hutton
llvmlistbot at llvm.org
Fri Feb 28 05:22:44 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);
----------------
lhutton1 wrote:
Shape inference support for calculating the output is below. There's not yet a verifier to check the output shape.
https://github.com/llvm/llvm-project/pull/129133
More information about the Mlir-commits
mailing list