parameters: (
      input: NodeInput,
      coords: NodeInput,
      output_size: TensorShape,
      spatial_scale: NumericData,
      method: str,
      name: Optional[str] = None,
  )
return_statement: return _get_node_factory_opset2().create(
          "ROIPooling",
          as_nodes(input, coords),
          {"output_size": Shape(output_size), "spatial_scale": spatial_scale, "method": method},
      )
docstring: Return a node which produces an ROIPooling operation.
  
      :param input:          Input feature map {N, C, ...}
      :param coords:         Coordinates of bounding boxes
      :param output_size:    Height/Width of ROI output features (shape)
      :param spatial_scale:  Ratio of input feature map over input image size (float)
      :param method:         Method of pooling - string: "max" or "bilinear"
      :return:               ROIPooling node
docstring_summary: Return a node which produces an ROIPooling operation.
docstring_tokens: Return a node which produces an ROIPooling operation .
function: def roi_pooling(
      input: NodeInput,
      coords: NodeInput,
      output_size: TensorShape,
      spatial_scale: NumericData,
      method: str,
      name: Optional[str] = None,
  ) -> Node:
      """Return a node which produces an ROIPooling operation.
  
      :param input:          Input feature map {N, C, ...}
      :param coords:         Coordinates of bounding boxes
      :param output_size:    Height/Width of ROI output features (shape)
      :param spatial_scale:  Ratio of input feature map over input image size (float)
      :param method:         Method of pooling - string: "max" or "bilinear"
      :return:               ROIPooling node
      """
      method = method.lower()
      return _get_node_factory_opset2().create(
          "ROIPooling",
          as_nodes(input, coords),
          {"output_size": Shape(output_size), "spatial_scale": spatial_scale, "method": method},
      )
function_tokens: def roi_pooling ( input : NodeInput , coords : NodeInput , output_size : TensorShape , spatial_scale : NumericData , method : str , name : Optional [ str ] = None , ) -> Node : method = method . lower ( ) return _get_node_factory_opset2 ( ) . create ( "ROIPooling" , as_nodes ( input , coords ) , { "output_size" : Shape ( output_size ) , "spatial_scale" : spatial_scale , "method" : method } , )