// // NNAPIConvolution.hpp // MNN // // Created by MNN on 2022/09/06. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef MNN_NNAPICONVOLUTION_HPP #define MNN_NNAPICONVOLUTION_HPP #include "NNAPIBackend.hpp" #include "NNAPICommonExecution.hpp" #include "core/ConvolutionCommon.hpp" namespace MNN { class NNAPIConvolution : public NNAPICommonExecution { public: NNAPIConvolution(Backend *b, const Op *op, const std::vector &inputs, const std::vector &outputs); ErrorCode onResize(const std::vector &inputs, const std::vector &outputs); virtual ~NNAPIConvolution() = default; private: std::shared_ptr quanCommon; std::unique_ptr nhwcWeight; std::unique_ptr quantWeight; std::unique_ptr quantBias; bool isDepthwise = false, isDeconv = false; }; } // namespace MNN #endif // MNN_NNAPICONVOLUTION_HPP