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

View File

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