mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Port Swish and Mish layers
This commit is contained in:
committed by
Dmitry Kurtaev
parent
f5b9705c70
commit
8a18d132fc
@@ -462,6 +462,18 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN
|
||||
static Ptr<TanHLayer> create(const LayerParams ¶ms);
|
||||
};
|
||||
|
||||
class CV_EXPORTS SwishLayer : public ActivationLayer
|
||||
{
|
||||
public:
|
||||
static Ptr<SwishLayer> create(const LayerParams ¶ms);
|
||||
};
|
||||
|
||||
class CV_EXPORTS MishLayer : public ActivationLayer
|
||||
{
|
||||
public:
|
||||
static Ptr<MishLayer> create(const LayerParams ¶ms);
|
||||
};
|
||||
|
||||
class CV_EXPORTS SigmoidLayer : public ActivationLayer
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user