nndeploy C++ API  0.2.0
nndeploy C++ API
op_concat.h
Go to the documentation of this file.
1 
2 #ifndef _NNDEPLOY_OP_OP_CONCAT_H_
3 #define _NNDEPLOY_OP_OP_CONCAT_H_
4 
5 #include "nndeploy/ir/ir.h"
6 #include "nndeploy/op/op.h"
7 
8 namespace nndeploy {
9 namespace op {
10 
11 class OpConcat : public Op {
12  public:
13  OpConcat() : Op() {}
14  virtual ~OpConcat() {}
15 
17 
18  virtual base::Status run();
19 };
20 
21 NNDEPLOY_CC_API base::Status concat(std::vector<device::Tensor *> inputs,
22  std::shared_ptr<ir::ConcatParam> param,
23  device::Tensor *output);
24 
25 } // namespace op
26 } // namespace nndeploy
27 
28 #endif
virtual base::Status run()
virtual base::Status inferShape()
形状推理
Op的基类
Definition: op.h:42
#define NNDEPLOY_CC_API
api
Definition: macro.h:29
base::Status concat(std::vector< device::Tensor * > inputs, std::shared_ptr< ir::ConcatParam > param, device::Tensor *output)