Class ov::op::v4::Interpolate#

class Interpolate : public ov::op::util::InterpolateBase#

Interpolate operation.

Public Functions

Interpolate(const Output<Node> &image, const Output<Node> &output_shape, const Output<Node> &scales, const InterpolateAttrs &attrs)#

Constructs a Interpolate operation without ‘axes’ input.

Parameters:
  • imageInput image

  • output_shapeOutput shape of spatial axes

  • scales – Scales of spatial axes, i.e. output_shape / input_shape

  • attrs – Interpolation attributes

Interpolate(const Output<Node> &image, const Output<Node> &output_shape, const Output<Node> &scales, const Output<Node> &axes, const InterpolateAttrs &attrs)#

Constructs a Interpolate operation with ‘axes’ input.

Parameters:
  • imageInput image

  • output_shapeOutput shape of spatial axes

  • scales – Scales of spatial axes, i.e. output_shape / input_shape

  • axes – Interpolation axes

  • attrs – Interpolation attributes

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.

virtual bool has_evaluate() const override#

Allows to get information about availability of evaluate method for the current operation.