// // ConvExecution.hpp // MNN // // Created by MNN on 2026/02/25. // Copyright © 2026, Alibaba Group Holding Limited // #ifndef ConvExecution_hpp #define ConvExecution_hpp #include "core/MusaBackend.hpp" #include "core/ConvolutionCommon.hpp" #include "MNN_generated.h" namespace MNN { namespace MUSA { class ConvExecution : public Execution { public: ConvExecution(const MNN::Op* op, Backend* backend); virtual ~ConvExecution() = default; virtual ErrorCode onResize(const std::vector& inputs, const std::vector& outputs) override; virtual ErrorCode onExecute(const std::vector& inputs, const std::vector& outputs) override; private: std::shared_ptr mResource; ConvolutionCommon::Im2ColParameters mIm2ColParams; int mThreadNumber{1}; bool mIsDepthWise{false}; bool mIsConv1x1{false}; }; } // namespace MUSA } // namespace MNN #endif /* ConvExecution_hpp */