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