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 of several input planes.

See AdaptiveAvgPool1d for details and output shape.

Parameters

output_size โ€“ the target output size (single integer)