nndeploy C++ API
0.2.0
nndeploy C++ API
framework
include
nndeploy
op
op_unary.h
Go to the documentation of this file.
1
2
#ifndef _NNDEPLOY_OP_OP_UNARY_H_
3
#define _NNDEPLOY_OP_OP_UNARY_H_
4
5
#include "
nndeploy/ir/ir.h
"
6
#include "
nndeploy/op/op.h
"
7
8
namespace
nndeploy
{
9
namespace
op {
10
11
class
OpUnary
:
public
Op
{
12
public
:
13
OpUnary
() :
Op
() {
is_inplace_
=
true
; }
14
virtual
~OpUnary
() {}
15
16
virtual
base::Status
inferShape
();
17
};
18
19
}
// namespace op
20
}
// namespace nndeploy
21
22
#endif
nndeploy::base::Status
Definition:
status.h:87
nndeploy::op::OpUnary
Definition:
op_unary.h:11
nndeploy::op::OpUnary::OpUnary
OpUnary()
Definition:
op_unary.h:13
nndeploy::op::OpUnary::~OpUnary
virtual ~OpUnary()
Definition:
op_unary.h:14
nndeploy::op::OpUnary::inferShape
virtual base::Status inferShape()
形状推理
nndeploy::op::Op
Op的基类
Definition:
op.h:42
nndeploy::op::Op::is_inplace_
bool is_inplace_
Definition:
op.h:273
ir.h
nndeploy
Definition:
common.h:10
op.h
Generated by
1.9.1