fn
max_pool1d_op
→TensorImplPtrint max_pool1d_op(const int & x, int KL, int stride_l, int pad_l)Python wrappers
Public Python APIs implemented by this engine symbol.One-dimensional max pooling over a batch of sequences.
Emits the maximum of each sliding window of length KL along the
last axis of the input.
Parameters
xTensorImplPtrInput of shape
(B, C, L).KLintWindow length.
stride_lint= NoneStride.
0 is a sentinel meaning "use KL" (non-overlapping windows). Default: 0.pad_lint= NoneZero-padding added to both ends. Default:
0.Returns
TensorImplPtrOutput of shape (B, C, L_out) where .