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