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

MVN layer using Intel's Inference Engine backend

This commit is contained in:
Dmitry Kurtaev
2018-08-02 16:36:15 +03:00
parent 47e3e89e30
commit be08730cd6
8 changed files with 118 additions and 46 deletions
@@ -135,8 +135,13 @@ public:
virtual bool setActivation(const Ptr<ActivationLayer>& layer) CV_OVERRIDE
{
activ = layer;
return !activ.empty();
if (activ.empty() || layer.empty())
{
activ = layer;
return !activ.empty();
}
else
return false;
}
class FullyConnected : public ParallelLoopBody