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