1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Merge pull request #11425 from zuoshaobo:relu_negative_slope

* FIX INF_ENGINE RELU ERROR

* set slope to variable

* tab in indentwq
This commit is contained in:
zuoshaobo
2018-05-03 18:36:49 +08:00
committed by Alexander Alekhin
parent 684cf43360
commit 4ff6a1bc7b
@@ -329,6 +329,7 @@ struct ReLUFunctor
{
lp.type = "ReLU";
std::shared_ptr<InferenceEngine::ReLULayer> ieLayer(new InferenceEngine::ReLULayer(lp));
ieLayer->negative_slope = slope;
return ieLayer;
}
#endif // HAVE_INF_ENGINE