Class ov::op::v0::Interpolate

class Interpolate : public ov::op::Op

Layer which performs bilinear interpolation.

Public Functions

Interpolate(const Output<Node> &image, const Output<Node> &output_shape, const Attributes &attrs)

Constructs a Interpolate operation.

Parameters
  • imageInput image

  • output_shapeOutput shape of spatial 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.

struct Attributes

Structure that specifies attributes for interpolation.