torch_adaptive_avg_pool1d: Adaptive_avg_pool1d

View source: R/gen-namespace.R

torch_adaptive_avg_pool1dR Documentation

Adaptive_avg_pool1d

Description

Adaptive_avg_pool1d

Usage

torch_adaptive_avg_pool1d(self, output_size)

Arguments

self

the input tensor

output_size

the target output size (single integer)

adaptive_avg_pool1d(input, output_size) -> Tensor

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

See nn_adaptive_avg_pool1d() for details and output shape.


torch documentation built on May 29, 2024, 9:54 a.m.