[IE] - Interpolate ONNX workaround (#3203)

Co-authored-by: DariaMityagina <daria.mityagina@intel.com>
This commit is contained in:
Andrey Sokolov
2020-11-19 11:59:46 +03:00
committed by GitHub
parent 759c91d547
commit 6effe67358

View File

@@ -79,7 +79,7 @@ void FrontEnd::parseInterpolate(const Model& model, const ie::CNNLayerPtr& _laye
-1.0f,
input,
output);
} else if (cmp(interpolateMode, "linear")) {
} else if (cmp(interpolateMode, "linear") || cmp(interpolateMode, "linear_onnx")) {
// current "Interp" supports modes "align_corners" and "asymmetric" only
// other "Interpolate" modes are translated to the default ones
const auto coordinateTransformationMode = _layer->GetParamAsString("coordinate_transformation_mode", "half_pixel");