torch_avg_pool1d {torch} | R Documentation |
Avg_pool1d
Description
Avg_pool1d
Usage
torch_avg_pool1d(
self,
kernel_size,
stride = list(),
padding = 0L,
ceil_mode = FALSE,
count_include_pad = TRUE
)
Arguments
self |
input tensor of shape |
kernel_size |
the size of the window. Can be a single number or a tuple |
stride |
the stride of the window. Can be a single number or a tuple |
padding |
implicit zero paddings on both sides of the input. Can be a single number or a tuple |
ceil_mode |
when |
count_include_pad |
when |
avg_pool1d(input, kernel_size, stride=NULL, padding=0, ceil_mode=FALSE, count_include_pad=TRUE) -> Tensor
Applies a 1D average pooling over an input signal composed of several input planes.
See nn_avg_pool1d()
for details and output shape.
[Package torch version 0.13.0 Index]