mirror of
https://github.com/opencv/opencv.git
synced 2025-01-19 06:53:50 +08:00
Fix Elu import from ONNX
This commit is contained in:
parent
adf54d41d5
commit
21ed892489
@ -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…
Reference in New Issue
Block a user