torch.nn.functional.max_unpool1d
function max_unpool1d(input: Tensor, indices: Tensor, kernel_size: number | [number], options?: MaxUnpoolFunctionalOptions): TensorApply 1D max unpooling. Computes the inverse of max_pool1d by scattering values back to their original positions.
Parameters
inputTensor- Input tensor
indicesTensor- Indices of max values
kernel_sizenumber | [number]- Size of pooling window
optionsMaxUnpoolFunctionalOptionsoptional- Options for the operation. See
MaxUnpoolFunctionalOptions.