模型开发接口
推理部署接口
API 相关说明
Applies a 2D max adaptive pooling over an input.
Refer to MaxAdaptivePool2d for more information.
MaxAdaptivePool2d
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.adaptive_avg_pool2d
next
megengine.functional.nn.deformable_psroi_pooling