[IE CLDNN] Fix linear_onnx Interpolate selection (#2769)
[platform/upstream/dldt.git] / inference-engine / thirdparty / clDNN / kernel_selector / core / kernel_selector_params.cpp
index d59da3e..299b784 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (c) 2016-2019 Intel Corporation
+// Copyright (c) 2016-2020 Intel Corporation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
@@ -325,6 +325,12 @@ void ParamsKey::EnableReampleType(ResampleType a) {
         case ResampleType::BILINEAR_INTERP:
             key.restrict.val.dedicated.resample.bilinear_interp = 1;
             break;
+        case ResampleType::CUBIC:
+            key.restrict.val.dedicated.resample.cubic = 1;
+            break;
+        case ResampleType::LINEAR_ONNX:
+            key.restrict.val.dedicated.resample.linear_onnx = 1;
+            break;
         default:
             break;
     }