W3cubDocs

/PyTorch 2.9

torch.nn.functional.adaptive_max_pool3d

torch.nn.functional.adaptive_max_pool3d(input, output_size, return_indices=False) [source]

Applies a 3D adaptive max pooling over an input signal composed of several input planes.

See AdaptiveMaxPool3d for details and output shape.

Parameters
  • output_size – the target output size (single integer or triple-integer tuple)
  • return_indices – whether to return pooling indices. Default: False

© 2025, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.9/generated/torch.nn.functional.adaptive_max_pool3d.html