# tensorplay.nn.functional.max_pool2d_with_indices

Source: https://www.tensorplay.cn/docs/generated/tensorplay.nn.functional.max_pool2d_with_indices.html

# tensorplay.nn.functional.max_pool2d_with_indices

tensorplay.nn.functional.max_pool2d_with_indices(input: TensorBase, kernel_size, stride=None, padding=0, dilation=1, ceil_mode: [bool](https://docs.python.org/3/library/functions.html#bool) = False, return_indices: [bool](https://docs.python.org/3/library/functions.html#bool) = True)[[source]](../_modules/tensorplay/nn/functional.html#max_pool2d_with_indices)

Applies a 2D max pooling over an input composed of several input
planes, returning (output, indices).

See MaxPool2d for details.
