openvino.runtime.opset7.max_pool#
- openvino.runtime.opset7.max_pool(data: Node | int | float | ndarray, strides: List[int], pads_begin: List[int], pads_end: List[int], kernel_shape: List[int], rounding_type: str = 'floor', auto_pad: str | None = None, name: str | None = None) Node #
Perform max pooling operation with given parameters on provided data.
- Parameters:
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.
- Returns:
The new node performing max pooling operation.