W3cubDocs

/PyTorch 2.9

torch.nn.functional.max_unpool1d

torch.nn.functional.max_unpool1d(input, indices, kernel_size, stride=None, padding=0, output_size=None) [source]

Compute a partial inverse of MaxPool1d.

See MaxUnpool1d for details.

Return type

Tensor

© 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.max_unpool1d.html