mirror of
https://github.com/opencv/opencv.git
synced 2025-06-16 06:32:06 +08:00
Using IE backend for normalize layer tests
This commit is contained in:
parent
f67b197d49
commit
b068d26fad
@ -65,15 +65,11 @@ public:
|
|||||||
{
|
{
|
||||||
if (backendId == DNN_BACKEND_INFERENCE_ENGINE)
|
if (backendId == DNN_BACKEND_INFERENCE_ENGINE)
|
||||||
{
|
{
|
||||||
if (pnorm != 2)
|
if (!(pnorm == 2 || pnorm == 1)) {
|
||||||
return false;
|
return false;
|
||||||
if (!blobs.empty())
|
|
||||||
return true;
|
|
||||||
if (preferableTarget == DNN_TARGET_MYRIAD)
|
|
||||||
return !acrossSpatial;
|
|
||||||
return startAxis == 1 && (!acrossSpatial || endAxis > 1);
|
|
||||||
}
|
}
|
||||||
else
|
return preferableTarget == DNN_TARGET_MYRIAD ? !acrossSpatial : startAxis == 1;
|
||||||
|
}
|
||||||
return backendId == DNN_BACKEND_OPENCV;
|
return backendId == DNN_BACKEND_OPENCV;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user