MNN/source/backend/tensorrt/execution/TRTDepthwiseDeconvolution.hpp

30 lines
775 B
C++
Executable File

//
// TRTDepthwiseDeconvolution.hpp
// MNN
//
// Created by MNN on 2019/09/11.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef MNN_TRTDepthwiseDeconvolution_HPP
#define MNN_TRTDepthwiseDeconvolution_HPP
#include "TRTBackend.hpp"
#include "TRTCommonExecution.hpp"
namespace MNN {
class TRTDepthwiseDeconvolution : public TRTCommonExecution {
public:
TRTDepthwiseDeconvolution(Backend *b, const Op *op, const std::vector<Tensor *> &inputs, const std::vector<Tensor *> &outputs);
virtual ~TRTDepthwiseDeconvolution() = default;
virtual std::vector<ITensor *> onEncode(const std::vector<ITensor *> &inputs) override;
private:
IActivationLayer *mActivationLayer{nullptr};
};
} // namespace MNN
#endif // MNN_TRTDepthwiseDeconvolution_HPP