fn
avg_pool1d_op
→TensorImplPtrint avg_pool1d_op(const int & x, int KL, int stride_l, int pad_l, bool ceil_mode, bool count_include_pad)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 .