Python wrappers
Public Python APIs implemented by this engine symbol.One-dimensional adaptive average-pool to a fixed output length.
Reduces the length axis of a 3-D input to exactly OL positions by
taking the arithmetic mean over each contiguous segment. Setting
OL = 1 produces global average pooling along the sequence.
Parameters
xTensorImplPtrInput of shape
(B, C, L).OLintTarget output length. Must satisfy
L % OL == 0.Returns
TensorImplPtrOutput of shape (B, C, OL).
Raises
ShapeMismatchIf
x is not 3-D.not_implementedIf
L is not evenly divisible by OL.