1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Added exp layer

backport of commit: 6111935835
partial backport of commit: dd5976162b
This commit is contained in:
SamFC10
2021-02-20 22:16:00 +05:30
committed by Alexander Alekhin
parent 19f1bac18c
commit 96947c30c0
8 changed files with 173 additions and 2 deletions
@@ -499,6 +499,14 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN
static Ptr<PowerLayer> create(const LayerParams &params);
};
class CV_EXPORTS ExpLayer : public ActivationLayer
{
public:
float base, scale, shift;
static Ptr<ExpLayer> create(const LayerParams &params);
};
/* Layers used in semantic segmentation */
class CV_EXPORTS CropLayer : public Layer