模型开发接口
推理部署接口
API 相关说明
Applies a 2D average adaptive pooling over an input.
Refer to AvgAdaptivePool2d for more information.
AvgAdaptivePool2d
inp (Tensor) – input tensor.
Tensor
oshp (Union[Tuple[int, int], int, Tensor]) – (OH, OW) size of the output shape.
Union
Tuple
int
output tensor.
previous
megengine.functional.nn.max_pool2d
next
megengine.functional.nn.adaptive_max_pool2d