[Mlir-commits] [mlir] [TOSA] Change PadOp padding to tosa.shape (PR #123133)

Georgios Pinitas llvmlistbot at llvm.org
Thu Jan 16 05:04:17 PST 2025


================
@@ -823,51 +844,42 @@ LogicalResult tosa::PadOp::inferReturnTypeComponents(
     PadOp::Adaptor adaptor,
     SmallVectorImpl<ShapedTypeComponents> &inferredReturnShapes) {
   ShapeAdaptor inputShape(adaptor.getInput1().getType());
-  ShapeAdaptor paddingShape(adaptor.getPadding().getType());
+  auto paddingRank =
----------------
GeorgeARM wrote:

Isn't the  rank expected to be always 1?

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


More information about the Mlir-commits mailing list