Shortcuts

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)

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources