1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Fix Elu import from ONNX

This commit is contained in:
Dmitry Kurtaev
2020-04-08 12:09:45 +03:00
parent adf54d41d5
commit 21ed892489
+4
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";