1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Enable ENet with Inference Engine backend on CPU

This commit is contained in:
Dmitry Kurtaev
2019-10-02 14:05:41 +03:00
parent ffea927ac2
commit e35fd463e7
3 changed files with 14 additions and 6 deletions
+2
View File
@@ -162,6 +162,8 @@ public:
{
if (backendId == DNN_BACKEND_INFERENCE_ENGINE)
{
if (computeMaxIdx)
return false;
#ifdef HAVE_INF_ENGINE
if (kernel_size.size() == 3)
return preferableTarget == DNN_TARGET_CPU;