Rate this Page

torch.nn.functional.adaptive_avg_pool1d#

torch.nn.functional.adaptive_avg_pool1d(input,output_size)Tensor#

Applies a 1D adaptive average pooling over an input signal composed ofseveral input planes.

SeeAdaptiveAvgPool1d for details and output shape.

Parameters

output_size – the target output size (single integer)