API symbolsnnCopyCopy as MarkdownCopy page linkView MarkdownDownload .mdOpenAIOpen in ChatGPTClaudeOpen in ClaudePerplexityOpen in PerplexityGrokOpen in Grok tensorplay.nn.functional.adaptive_max_pool2d_with_indices tensorplay.nn.functional.adaptive_max_pool2d_with_indices(input: TensorBase, output_size, return_indices: bool = True)[source] Applies a 2D adaptive max pooling over an input signal composed of several input planes, returning (output, indices). See AdaptiveMaxPool2d for details. Help improve this pageFound an error, an unclear step, or a missing example?Was this page helpful?YesNoSuggest an editReport an issuetensorplay.nn.functional.adaptive_max_pool2dPrevious Pagetensorplay.nn.functional.adaptive_max_pool3d_with_indicesApplies a 3D adaptive max pooling over an input signal, returning (output, indices) .