ngraph.opset3.ops.extract_image_patches

ngraph.opset3.ops.extract_image_patches(image: Union[_pyngraph.Node, int, float, numpy.ndarray], sizes: List[int], strides: List[int], rates: List[int], auto_pad: str, name: Optional[str] = None) _pyngraph.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