1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 07:13:02 +04:00

Make Inference Engine R3 as a minimal supported version

This commit is contained in:
Dmitry Kurtaev
2019-02-21 09:32:26 +03:00
parent 1db5d82b7f
commit ed710eaa1c
10 changed files with 3 additions and 89 deletions
@@ -1161,10 +1161,7 @@ public:
const int group = numOutput / outGroupCn;
if (group != 1)
{
#if INF_ENGINE_VER_MAJOR_GE(INF_ENGINE_RELEASE_2018R3)
return preferableTarget == DNN_TARGET_CPU;
#endif
return false;
}
if (preferableTarget == DNN_TARGET_OPENCL || preferableTarget == DNN_TARGET_OPENCL_FP16)
return dilation.width == 1 && dilation.height == 1;