Merge pull request #22410 from zihaomu:silu_support

pull/22414/head^2
Alexander Smorkalov 2 years ago
commit 7831aae5dd
  1. 2
      modules/dnn/src/darknet/darknet_io.cpp

@ -229,7 +229,7 @@ namespace cv {
activation_param.set<float>("negative_slope", 0.1f);
activation_param.type = "ReLU";
}
else if (type == "swish")
else if (type == "swish" || type == "silu") // swish is an extension of silu.
{
activation_param.type = "Swish";
}

Loading…
Cancel
Save