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

Further optimization of Conv2D, fused Conv_Add_Activation, bring latest code from ficus OpConv.fx. (#22401)

This commit is contained in:
Zihao Mu
2022-08-26 17:57:25 +08:00
committed by GitHub
parent 67fa8a2f47
commit bb64db98d8
12 changed files with 1194 additions and 905 deletions
@@ -256,6 +256,9 @@ CV__DNN_INLINE_NS_BEGIN
{
public:
static Ptr<BaseConvolutionLayer> create(const LayerParams& params);
bool fusedActivation = false;
bool fusedAdd = false;
bool isConv2D = false; // Should be deleted after fastconv branch support Conv1D and Conv3D.
};
class CV_EXPORTS ConvolutionLayerInt8 : public BaseConvolutionLayer