// // Convolution3D3x3.hpp // MNN // // Created by MNN on 2019/09/18. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef Convolution3D3x3_hpp #define Convolution3D3x3_hpp #include "backend/cpu/CPUConvolution3D.hpp" namespace MNN { class Convolution3D3x3 : public Execution { public: Convolution3D3x3(const Convolution3DCommon *convOp, Backend *b, const float *originWeight, int originWeightSize, const float *bias, int biasSize); virtual ~Convolution3D3x3(); virtual ErrorCode onExecute(const std::vector &inputs, const std::vector &outputs); virtual ErrorCode onResize(const std::vector &inputs, const std::vector &outputs); private: int mKernelDepth; PadMode mPadMode; std::vector mPads; CPUConvolution3D::POSTFUNCTION mPostFunction; std::shared_ptr mWeight; std::shared_ptr mBias; std::shared_ptr mSourceBuffer; std::shared_ptr mDestBuffer; std::shared_ptr mTempBuffer; }; } // namespace MNN #endif /* Convolution3D3x3_hpp */