MNN/source/backend/opengl/GLConcat.hpp

32 lines
717 B
C++
Raw Normal View History

2019-04-17 10:49:11 +08:00
//
// GLConcat.h
// MNN
//
// Created by MNN on 2019/01/31.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef MNN_GLCONCAT_H
#define MNN_GLCONCAT_H
2019-04-17 10:49:11 +08:00
2019-12-27 22:16:57 +08:00
#include "core/Execution.hpp"
#include "backend/opengl/GLProgram.hpp"
#include "backend/opengl/GLTexture.hpp"
2019-04-17 10:49:11 +08:00
namespace MNN {
namespace OpenGL {
2019-04-17 10:49:11 +08:00
class GLConcat : public Execution {
public:
GLConcat(const std::vector<Tensor *> &inputs, const Op *convOp, Backend *bn);
2019-04-17 10:49:11 +08:00
virtual ~GLConcat();
virtual ErrorCode onExecute(const std::vector<Tensor *> &inputs, const std::vector<Tensor *> &outputs) override;
private:
std::shared_ptr<GLProgram> mProgram;
int mAxis;
};
} // namespace OpenGL
2019-04-17 10:49:11 +08:00
} // namespace MNN
#endif // MNN_GLCONCAT_H