mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
@@ -530,6 +530,13 @@ void ONNXImporter::populateNet(Net dstNet)
|
||||
layerParams.type = "Power";
|
||||
}
|
||||
}
|
||||
else if (layer_type == "Clip")
|
||||
{
|
||||
layerParams.type = "ReLU6";
|
||||
replaceLayerParam(layerParams, "min", "min_value");
|
||||
replaceLayerParam(layerParams, "max", "max_value");
|
||||
|
||||
}
|
||||
else if (layer_type == "LeakyRelu")
|
||||
{
|
||||
layerParams.type = "ReLU";
|
||||
|
||||
Reference in New Issue
Block a user