nnf_adaptive_max_pool1d: Adaptive_max_pool1d

View source: R/nnf-pooling.R

nnf_adaptive_max_pool1dR Documentation

Adaptive_max_pool1d

Description

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

Usage

nnf_adaptive_max_pool1d(input, output_size, return_indices = FALSE)

Arguments

input

input tensor of shape (minibatch , in_channels , iW)

output_size

the target output size (single integer)

return_indices

whether to return pooling indices. Default: FALSE


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