diff --git a/modules/dnn/src/layers/elementwise_layers.cpp b/modules/dnn/src/layers/elementwise_layers.cpp index 1b8b2c7935..8600967de4 100644 --- a/modules/dnn/src/layers/elementwise_layers.cpp +++ b/modules/dnn/src/layers/elementwise_layers.cpp @@ -329,6 +329,7 @@ struct ReLUFunctor { lp.type = "ReLU"; std::shared_ptr ieLayer(new InferenceEngine::ReLULayer(lp)); + ieLayer->negative_slope = slope; return ieLayer; } #endif // HAVE_INF_ENGINE