torch.adaptive_avg_pool1d
- torch.adaptive_avg_pool1d(input, output_size) → Tensor
Applies a 1D adaptive average pooling over an input signal composed of several input planes.
See
AdaptiveAvgPool1dfor details and output shape.
Applies a 1D adaptive average pooling over an input signal composed of several input planes.
See AdaptiveAvgPool1d for details and output shape.
output_size – the target output size (single integer)