struct ov::op::v4::Interpolate::InterpolateAttrs

#include <interpolate.hpp>

struct InterpolateAttrs
{
    // fields

    InterpolateMode mode = InterpolateMode::NEAREST;
    ShapeCalcMode shape_calculation_mode = ShapeCalcMode::SIZES;
    std::vector<size_t> pads_begin;
    std::vector<size_t> pads_end;
    CoordinateTransformMode coordinate_transformation_mode = CoordinateTransformMode::HALF_PIXEL;
    NearestMode nearest_mode = NearestMode::ROUND_PREFER_FLOOR;
    bool antialias = false;
    double cube_coeff = -0.75f;

    // construction

    InterpolateAttrs();

    InterpolateAttrs(
        InterpolateMode mode,
        ShapeCalcMode shape_calculation_mode,
        const std::vector<size_t>& pads_begin,
        const std::vector<size_t>& pads_end,
        CoordinateTransformMode coordinate_transformation_mode = CoordinateTransformMode::HALF_PIXEL,
        NearestMode nearest_mode = NearestMode::ROUND_PREFER_FLOOR,
        bool antialias = false,
        double cube_coeff = -0.75
        );

    // methods

    bool operator == (const InterpolateAttrs& other) const;
    bool operator != (const InterpolateAttrs& other) const;
};