Merge pull request #17014 from dkurt:dnn_onnx_elu

This commit is contained in:
Alexander Alekhin 2020-04-08 10:18:33 +00:00
commit b745e1c43a

View File

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