# tensorplay.nn.functional.max_pool2d_with_indices Source: https://www.tensorplay.cn/docs/generated/tensorplay.nn.functional.max_pool2d_with_indices.html ```python tensorplay.nn.functional.max_pool2d_with_indices(input: Tensor, kernel_size, stride=None, padding=0, dilation=1, ceil_mode: bool = False, return_indices: bool = True) ``` Applies a 2D max pooling over an input composed of several input planes, returning (output, indices). See MaxPool2d for details.