nndeploy C++ API  0.2.0
nndeploy C++ API
op_binary.h
Go to the documentation of this file.
1 
2 #ifndef _NNDEPLOY_OP_OP_BINARY_H_
3 #define _NNDEPLOY_OP_OP_BINARY_H_
4 
5 #include "nndeploy/ir/ir.h"
6 #include "nndeploy/op/op.h"
7 
8 namespace nndeploy {
9 namespace op {
10 
11 class OpBinary : public Op {
12  public:
13  OpBinary() : Op() { is_inplace_ = true; }
14  virtual ~OpBinary() {}
15 
17 
19 };
20 
21 } // namespace op
22 } // namespace nndeploy
23 
24 #endif
virtual base::Status inferShape()
形状推理
virtual base::Status inferDataFormat()
数据格式推理
Op的基类
Definition: op.h:42
bool is_inplace_
Definition: op.h:273