powered by
Avg_pool1d
NA input tensor of shape \((\mbox{minibatch} , \mbox{in\_channels} , iW)\)
NA the size of the window. Can be a single number or a tuple (kW,)
(kW,)
NA the stride of the window. Can be a single number or a tuple (sW,). Default: kernel_size
(sW,)
kernel_size
NA implicit zero paddings on both sides of the input. Can be a single number or a tuple (padW,). Default: 0
(padW,)
NA when True, will use ceil instead of floor to compute the output shape. Default: False
ceil
floor
False
NA when True, will include the zero-padding in the averaging calculation. Default: True
True
Applies a 1D average pooling over an input signal composed of several input planes.
See ~torch.nn.AvgPool1d for details and output shape.
~torch.nn.AvgPool1d