openvino.runtime.opset5.extract_image_patches

openvino.runtime.opset5.extract_image_patches(image: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], sizes: List[int], strides: List[int], rates: List[int], auto_pad: str, name: Optional[str] = None) openvino._pyopenvino.Node

Return a node which produces the ExtractImagePatches operation.

Parameters
  • image – 4-D Input data to extract image patches.

  • sizes – Patch size in the format of [size_rows, size_cols].

  • strides – Patch movement stride in the format of [stride_rows, stride_cols]

  • rates – Element seleciton rate for creating a patch.

  • auto_pad – Padding type.

  • name – Optional name for output node.

Returns

ExtractImagePatches node