Class ov::reference::InterpolateEval

template<typename T>
class InterpolateEval

Class to perform interpolation calculation.

Public Functions

inline InterpolateEval(const op::v4::Interpolate::InterpolateAttrs &attrs)

Constructs interpolation calculation using Interpolate attributes.

Parameters

attrs – Interpolate-4 attributes.

inline void operator()(const T *input_data, const Shape &input_data_shape, const std::vector<float> &scales, const std::vector<int64_t> &axes, T *out, const Shape &out_shape)

Performing interpolation calculation.

Parameters
  • input_data – pointer to input data

  • input_data_shape – shape of the input data

  • scales – scale factors for each interpolated axis

  • axes – axes to interpolate

  • out – pointer to memory block for output data

  • out_shape – shape of output data