Fix Elu import from ONNX

pull/17014/head
Dmitry Kurtaev 5 years ago
parent adf54d41d5
commit 21ed892489
  1. 4
      modules/dnn/src/onnx/onnx_importer.cpp

@ -777,6 +777,10 @@ void ONNXImporter::populateNet(Net dstNet)
{
layerParams.type = "ReLU";
}
else if (layer_type == "Elu")
{
layerParams.type = "ELU";
}
else if (layer_type == "PRelu")
{
layerParams.type = "PReLU";

Loading…
Cancel
Save