Class ov::op::util::InterpolateBase#
-
class InterpolateBase : public ov::op::Op#
Subclassed by ov::op::v11::Interpolate, ov::op::v4::Interpolate
Public Types
-
enum class ShapeCalcMode#
PartialShape calculation mode.
SIZES - output shape for interpolated axes is calculated using input
sizes
SCALES - output shape for interpolated axes is calculated using inputscales
Values:
-
enumerator SIZES#
-
enumerator SCALES#
-
enumerator SIZES#
-
enum class InterpolateMode#
Interpolation mode.
NEAREST - nearest interpolation LINEAR - linear interpolation as in TensorFlow LINEAR_ONNX - linear interpolation as in ONNX CUBIC - cubic interpolation BILINEAR_PILLOW - bilinear interpolation as in Pillow BICUBIC_PILLOW - bicubic interpolation as in Pillow
Values:
-
enumerator NEAREST#
-
enumerator LINEAR#
-
enumerator LINEAR_ONNX#
-
enumerator CUBIC#
-
enumerator BILINEAR_PILLOW#
-
enumerator BICUBIC_PILLOW#
-
enumerator NEAREST#
Public Functions
-
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 InterpolateAttrs#
-
enum class ShapeCalcMode#