Class ov::op::v11::Interpolate#

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

Interpolate operation.

Public Functions

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

Constructs a Interpolate operation without ‘axes’ input.

Parameters:
  • imageInput image

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

  • attrs – Interpolation attributes

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

Constructs a Interpolate operation with ‘axes’ input.

Parameters:
  • imageInput image

  • scales_or_sizes – 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.

inline virtual bool has_evaluate() const override#

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