openvino.runtime.opset3.max_pool(data: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], strides: List[int], pads_begin: List[int], pads_end: List[int], kernel_shape: List[int], rounding_type: str = 'floor', auto_pad: Optional[str] = None, name: Optional[str] = None) openvino._pyopenvino.Node

Perform max pooling operation with given parameters on provided data.

  • data – The node providing input data.

  • strides – The distance (in pixels) to slide the filter on the feature map over the axes.

  • pads_begin – The number of pixels to add at the beginning along each axis.

  • pads_end – The number of pixels to add at the end along each axis.

  • kernel_shape – The pooling operation kernel shape.

  • rounding_type – Determines used rounding schema when computing output shape. Acceptable values are: [‘floor’, ‘ceil’]

  • auto_pad – Determines how the padding is calculated. Acceptable values: [None, ‘same_upper’, ‘same_lower’, ‘valid’]

  • name – The optional name for the created output node.


The new node performing max pooling operation.