Class ov::op::v3::ExtractImagePatches#

class ExtractImagePatches : public ov::op::Op#

ExtractImagePatches operation.

Public Functions

ExtractImagePatches(const Output<Node> &image, const Shape &sizes, const Strides &strides, const Shape &rates, const PadType &auto_pad)#

Constructs a ExtractImagePatches operation.

Parameters:
  • data – 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. in the format of [rate_rows, rate_cols]

  • auto_pad – Padding type. it can be any value from valid, same_lower, same_upper

virtual void validate_and_infer_types() override#

Verifies that attributes and inputs are consistent and computes output shapes and element types. Must be implemented by concrete child classes so that it can be run any number of times.

Throws if the node is invalid.