View source: R/gen-namespace.R
torch_avg_pool1d | R Documentation |
Avg_pool1d
torch_avg_pool1d(
self,
kernel_size,
stride = list(),
padding = 0L,
ceil_mode = FALSE,
count_include_pad = TRUE
)
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 |
Applies a 1D average pooling over an input signal composed of several input planes.
See nn_avg_pool1d()
for details and output shape.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.