nnf_adaptive_avg_pool1d function

Adaptive_avg_pool1d

Adaptive_avg_pool1d

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

nnf_adaptive_avg_pool1d(input, output_size)

Arguments

  • input: input tensor of shape (minibatch , in_channels , iW)
  • output_size: the target output size (single integer)
  • Maintainer: Daniel Falbel
  • License: MIT + file LICENSE
  • Last published: 2025-02-14