@@ -7369,17 +7369,17 @@ class DecomposeAtenAdaptiveMaxPool1dOp
73697369 ValueRange{constantOne});
73707370
73717371 if (op.getResult (1 ).use_empty ()) {
7372- auto maxPool = rewriter.create <AtenMaxPool1dOp>(loc, op. getType ( 0 ), input, kernelSizeList,
7373- strideList, paddingSizeList ,
7374- dialationList,
7375- /* ceil_mode=*/ constantFalse);
7372+ auto maxPool = rewriter.create <AtenMaxPool1dOp>(
7373+ loc, op. getType ( 0 ), input, kernelSizeList, strideList ,
7374+ paddingSizeList, dialationList,
7375+ /* ceil_mode=*/ constantFalse);
73767376 rewriter.replaceOp (op, {maxPool.getResult (), Value ()});
73777377 } else {
7378- auto maxPool = rewriter.create <AtenMaxPool1dWithIndicesOp>(loc, op. getType ( 0 ), op. getType ( 1 ), input, kernelSizeList,
7379- strideList, paddingSizeList ,
7380- dialationList,
7381- /* ceil_mode=*/ constantFalse);
7382- rewriter.replaceOp (op, { maxPool.getResult ( 0 ), maxPool. getResult ( 1 )} );
7378+ auto maxPool = rewriter.create <AtenMaxPool1dWithIndicesOp>(
7379+ loc, op. getType ( 0 ), op. getType ( 1 ), input, kernelSizeList, strideList ,
7380+ paddingSizeList, dialationList,
7381+ /* ceil_mode=*/ constantFalse);
7382+ rewriter.replaceOp (op, maxPool.getResults () );
73837383 }
73847384 return success ();
73857385 }
0 commit comments