nnf_max_unpool1d: Max_unpool1d

Description Usage Arguments

View source: R/nnf-pooling.R

Description

Computes a partial inverse of MaxPool1d.

Usage

1
2
3
4
5
6
7
8
nnf_max_unpool1d(
  input,
  indices,
  kernel_size,
  stride = NULL,
  padding = 0,
  output_size = NULL
)

Arguments

input

the input Tensor to invert

indices

the indices given out by max pool

kernel_size

Size of the max pooling window.

stride

Stride of the max pooling window. It is set to kernel_size by default.

padding

Padding that was added to the input

output_size

the targeted output size


torch documentation built on Oct. 7, 2021, 9:22 a.m.