openvino.runtime.opset10.extract_image_patches#

openvino.runtime.opset10.extract_image_patches(image: Node | int | float | ndarray, sizes: List[int], strides: List[int], rates: List[int], auto_pad: str, name: str | None = None) 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