MNN/source/backend/opencl/execution/image/MultiInputDWDeconvExecution...

37 lines
928 B
C++
Raw Permalink Normal View History

2019-12-27 22:16:57 +08:00
//
// MultiInputDWDeconvExecution.hpp
2019-12-27 22:16:57 +08:00
// MNN
//
// Created by MNN on 2019/10/25.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef MultiInputDWDeconvExecution_hpp
#define MultiInputDWDeconvExecution_hpp
2019-12-27 22:16:57 +08:00
2024-04-19 11:58:21 +08:00
#include "CommonExecution.hpp"
2020-11-05 16:41:56 +08:00
#include "backend/opencl/core/OpenCLRunningUtils.hpp"
2019-12-27 22:16:57 +08:00
namespace MNN {
namespace OpenCL {
class MultiInputDWDeconvExecution : public CommonExecution {
2019-12-27 22:16:57 +08:00
public:
MultiInputDWDeconvExecution(const MNN::Op *op, Backend *backend);
virtual ~MultiInputDWDeconvExecution();
2019-12-27 22:16:57 +08:00
2024-04-19 11:58:21 +08:00
virtual ErrorCode onEncode(const std::vector<Tensor *> &inputs, const std::vector<Tensor *> &outputs) override;
2019-12-27 22:16:57 +08:00
private:
std::vector<int> mStrides;
std::vector<int> mPaddings;
std::vector<int> mDilations;
std::shared_ptr<Tensor> mFilter;
2020-11-05 16:41:56 +08:00
bool isRelu = false;
bool isRelu6 = false;
2019-12-27 22:16:57 +08:00
};
} // namespace OpenCL
} // namespace MNN
#endif /* MultiInputDWDeconvExecution_hpp */