Merge pull request #11425 from zuoshaobo:relu_negative_slope

* FIX INF_ENGINE RELU ERROR

* set slope to variable

* tab in indentwq
pull/11442/head
zuoshaobo 7 years ago committed by Alexander Alekhin
parent 684cf43360
commit 4ff6a1bc7b
  1. 1
      modules/dnn/src/layers/elementwise_layers.cpp

@ -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

Loading…
Cancel
Save