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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user