fn
avg_pool1d_op
→TensorImplPtrint avg_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 average pooling over a batch of sequences.
Emits the arithmetic mean of each sliding window of length KL.
Parameters
xTensorImplPtrInput of shape
(B, C, L).KLintWindow length.
stride_lint= NoneStride.
0 is a sentinel meaning "use KL". Default: 0.pad_lint= NoneZero-padding added to both ends. Default:
0.Returns
TensorImplPtrOutput of shape (B, C, L_out) where .