Commit b068d26f authored by Liubov Batanina's avatar Liubov Batanina

Using IE backend for normalize layer tests

parent f67b197d
...@@ -65,16 +65,12 @@ public: ...@@ -65,16 +65,12 @@ 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; return preferableTarget == DNN_TARGET_MYRIAD ? !acrossSpatial : startAxis == 1;
if (preferableTarget == DNN_TARGET_MYRIAD)
return !acrossSpatial;
return startAxis == 1 && (!acrossSpatial || endAxis > 1);
} }
else return backendId == DNN_BACKEND_OPENCV;
return backendId == DNN_BACKEND_OPENCV;
} }
bool getMemoryShapes(const std::vector<MatShape> &inputs, bool getMemoryShapes(const std::vector<MatShape> &inputs,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment