Fix Elu import from ONNX

This commit is contained in:
Dmitry Kurtaev 2020-04-08 12:09:45 +03:00
parent adf54d41d5
commit 21ed892489

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