On this page
torch.nn.functional.fold
torch.nn.functional.fold(input, output_size, kernel_size, dilation=1, padding=0, stride=1)
[source]-
Combines an array of sliding local blocks into a large containing tensor.
Warning
Currently, only unbatched (3D) or batched (4D) image-like output tensors are supported.
See
torch.nn.Fold
for details- Return type:
© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/1.13/generated/torch.nn.functional.fold.html