参照onnx的格式,描述模型的结构
More...
#include <ir.h>
参照onnx的格式,描述模型的结构
Definition at line 109 of file ir.h.
◆ ModelDesc()
| nndeploy::ir::ModelDesc::ModelDesc |
( |
| ) |
|
◆ ~ModelDesc()
| virtual nndeploy::ir::ModelDesc::~ModelDesc |
( |
| ) |
|
|
virtual |
◆ deserializeStructureFromJson() [1/2]
| base::Status nndeploy::ir::ModelDesc::deserializeStructureFromJson |
( |
const std::string & |
path, |
|
|
const std::vector< ValueDesc > & |
input |
|
) |
| |
◆ deserializeStructureFromJson() [2/2]
| base::Status nndeploy::ir::ModelDesc::deserializeStructureFromJson |
( |
rapidjson::Value & |
json, |
|
|
const std::vector< ValueDesc > & |
input |
|
) |
| |
◆ deserializeStructureFromJsonStr()
| base::Status nndeploy::ir::ModelDesc::deserializeStructureFromJsonStr |
( |
const std::string & |
json_str, |
|
|
const std::vector< ValueDesc > & |
input |
|
) |
| |
◆ dump()
| base::Status nndeploy::ir::ModelDesc::dump |
( |
std::ostream & |
stream | ) |
|
◆ serializeStructureToJson() [1/2]
| base::Status nndeploy::ir::ModelDesc::serializeStructureToJson |
( |
const std::string & |
path | ) |
|
◆ serializeStructureToJson() [2/2]
| base::Status nndeploy::ir::ModelDesc::serializeStructureToJson |
( |
rapidjson::Value & |
json, |
|
|
rapidjson::Document::AllocatorType & |
allocator |
|
) |
| |
◆ serializeStructureToJsonStr()
| base::Status nndeploy::ir::ModelDesc::serializeStructureToJsonStr |
( |
std::string & |
json_str | ) |
|
◆ inputs_
| std::vector<std::shared_ptr<ValueDesc> > nndeploy::ir::ModelDesc::inputs_ |
Definition at line 148 of file ir.h.
◆ metadata_
| std::unordered_map<std::string, std::string> nndeploy::ir::ModelDesc::metadata_ |
Definition at line 146 of file ir.h.
◆ name_
| std::string nndeploy::ir::ModelDesc::name_ |
Definition at line 144 of file ir.h.
◆ op_descs_
| std::vector<std::shared_ptr<OpDesc> > nndeploy::ir::ModelDesc::op_descs_ |
Definition at line 152 of file ir.h.
◆ outputs_
| std::vector<std::shared_ptr<ValueDesc> > nndeploy::ir::ModelDesc::outputs_ |
Definition at line 150 of file ir.h.
◆ values_
| std::vector<std::shared_ptr<ValueDesc> > nndeploy::ir::ModelDesc::values_ |
Definition at line 156 of file ir.h.
◆ weights_
| std::map<std::string, device::Tensor *> nndeploy::ir::ModelDesc::weights_ |
Definition at line 154 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