add ONNX OP sign, shrink and reciprocal
This commit is contained in:
@@ -794,6 +794,26 @@ CV__DNN_INLINE_NS_BEGIN
|
||||
static Ptr<ActivationLayerInt8> create(const LayerParams ¶ms);
|
||||
};
|
||||
|
||||
class CV_EXPORTS SignLayer : public ActivationLayer
|
||||
{
|
||||
public:
|
||||
static Ptr<SignLayer> create(const LayerParams ¶ms);
|
||||
};
|
||||
|
||||
class CV_EXPORTS ShrinkLayer : public ActivationLayer
|
||||
{
|
||||
public:
|
||||
float bias;
|
||||
float lambd;
|
||||
static Ptr<ShrinkLayer> create(const LayerParams ¶ms);
|
||||
};
|
||||
|
||||
class CV_EXPORTS ReciprocalLayer : public ActivationLayer
|
||||
{
|
||||
public:
|
||||
static Ptr<ReciprocalLayer> create(const LayerParams ¶ms);
|
||||
};
|
||||
|
||||
/* Layers used in semantic segmentation */
|
||||
|
||||
class CV_EXPORTS CropLayer : public Layer
|
||||
|
||||
Reference in New Issue
Block a user