openvino.runtime.opset13.roi_pooling#
- openvino.runtime.opset13.roi_pooling(input: Node | int | float | ndarray, coords: Node | int | float | ndarray, output_roi: List[int] | None = None, spatial_scale: int | float | ndarray | None = None, method: str = 'max', name: str | None = None, *, output_size: List[int] | None = None) Node #
Return a node which produces an ROIPooling operation.
- Parameters:
input – Input feature map {N, C, …}.
coords – Coordinates of bounding boxes.
output_roi – Height/Width of ROI output features (shape).
spatial_scale – Ratio of input feature map over input image size (float).
method – Method of pooling - string: “max” or “bilinear”. Default: “max”
output_size – (DEPRECATED!) Height/Width of ROI output features (shape). Will override output_roi if used and change behavior of the operator.
- Returns:
ROIPooling node.