class ngraph::runtime::reference::InterpolateEval¶
Overview¶
Class to perform interpolation calculation. More…
#include <interpolate.hpp>
template <typename T>
class InterpolateEval
{
public:
// construction
InterpolateEval();
InterpolateEval(const op::v4::Interpolate::InterpolateAttrs& attrs);
// methods
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
);
};
Detailed Documentation¶
Class to perform interpolation calculation.
Construction¶
InterpolateEval(const op::v4::Interpolate::InterpolateAttrs& attrs)
Constructs interpolation calculation using Interpolate attributes.
Parameters:
attrs |
Interpolate-4 attributes. |
Methods¶
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 |