参照并扩充了onnx的格式,描述算子的基本信息
More...
#include <ir.h>
|
| base::Status | deserialize (rapidjson::Value &json) |
| |
| | OpDesc () |
| |
| | OpDesc (const std::string &name, OpType op_type) |
| |
| | OpDesc (const std::string &name, OpType op_type, std::initializer_list< std::string > inputs, std::initializer_list< std::string > outputs) |
| |
| | OpDesc (const std::string &name, OpType op_type, std::initializer_list< std::string > inputs, std::initializer_list< std::string > outputs, std::shared_ptr< base::Param > op_param) |
| |
| | OpDesc (const std::string &name, OpType op_type, std::shared_ptr< base::Param > op_param) |
| |
| | OpDesc (const std::string &name, OpType op_type, std::vector< std::string > &inputs, std::vector< std::string > &outputs) |
| |
| | OpDesc (const std::string &name, OpType op_type, std::vector< std::string > &inputs, std::vector< std::string > &outputs, std::shared_ptr< base::Param > op_param) |
| |
| | OpDesc (OpType op_type) |
| |
| base::Status | serialize (rapidjson::Value &json, rapidjson::Document::AllocatorType &allocator) |
| |
| virtual | ~OpDesc () |
| |
参照并扩充了onnx的格式,描述算子的基本信息
1. 算子名称
2. 算子类型
3. 算子输入
4. 算子输出
5. 算子的参数
Definition at line 34 of file ir.h.
◆ OpDesc() [1/8]
| nndeploy::ir::OpDesc::OpDesc |
( |
| ) |
|
◆ OpDesc() [2/8]
| nndeploy::ir::OpDesc::OpDesc |
( |
OpType |
op_type | ) |
|
◆ OpDesc() [3/8]
| nndeploy::ir::OpDesc::OpDesc |
( |
const std::string & |
name, |
|
|
OpType |
op_type |
|
) |
| |
◆ OpDesc() [4/8]
| nndeploy::ir::OpDesc::OpDesc |
( |
const std::string & |
name, |
|
|
OpType |
op_type, |
|
|
std::shared_ptr< base::Param > |
op_param |
|
) |
| |
◆ OpDesc() [5/8]
| nndeploy::ir::OpDesc::OpDesc |
( |
const std::string & |
name, |
|
|
OpType |
op_type, |
|
|
std::initializer_list< std::string > |
inputs, |
|
|
std::initializer_list< std::string > |
outputs |
|
) |
| |
◆ OpDesc() [6/8]
| nndeploy::ir::OpDesc::OpDesc |
( |
const std::string & |
name, |
|
|
OpType |
op_type, |
|
|
std::initializer_list< std::string > |
inputs, |
|
|
std::initializer_list< std::string > |
outputs, |
|
|
std::shared_ptr< base::Param > |
op_param |
|
) |
| |
◆ OpDesc() [7/8]
| nndeploy::ir::OpDesc::OpDesc |
( |
const std::string & |
name, |
|
|
OpType |
op_type, |
|
|
std::vector< std::string > & |
inputs, |
|
|
std::vector< std::string > & |
outputs |
|
) |
| |
◆ OpDesc() [8/8]
| nndeploy::ir::OpDesc::OpDesc |
( |
const std::string & |
name, |
|
|
OpType |
op_type, |
|
|
std::vector< std::string > & |
inputs, |
|
|
std::vector< std::string > & |
outputs, |
|
|
std::shared_ptr< base::Param > |
op_param |
|
) |
| |
◆ ~OpDesc()
| virtual nndeploy::ir::OpDesc::~OpDesc |
( |
| ) |
|
|
virtual |
◆ deserialize()
| base::Status nndeploy::ir::OpDesc::deserialize |
( |
rapidjson::Value & |
json | ) |
|
◆ serialize()
| base::Status nndeploy::ir::OpDesc::serialize |
( |
rapidjson::Value & |
json, |
|
|
rapidjson::Document::AllocatorType & |
allocator |
|
) |
| |
◆ inputs_
| std::vector<std::string> nndeploy::ir::OpDesc::inputs_ |
Definition at line 69 of file ir.h.
◆ name_
| std::string nndeploy::ir::OpDesc::name_ |
Definition at line 64 of file ir.h.
◆ op_param_
| std::shared_ptr<base::Param> nndeploy::ir::OpDesc::op_param_ |
Definition at line 73 of file ir.h.
◆ op_type_
| OpType nndeploy::ir::OpDesc::op_type_ |
Definition at line 66 of file ir.h.
◆ outputs_
| std::vector<std::string> nndeploy::ir::OpDesc::outputs_ |
Definition at line 71 of file ir.h.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/nndeploy-zh/checkouts/stable/framework/include/nndeploy/ir/ir.h