nndeploy C++ API  0.2.0
nndeploy C++ API
Classes | Namespaces | Typedefs | Functions
graph.h File Reference
#include "nndeploy/base/any.h"
#include "nndeploy/base/common.h"
#include "nndeploy/base/glic_stl_include.h"
#include "nndeploy/base/log.h"
#include "nndeploy/base/macro.h"
#include "nndeploy/base/object.h"
#include "nndeploy/base/status.h"
#include "nndeploy/base/string.h"
#include "nndeploy/dag/edge.h"
#include "nndeploy/dag/executor.h"
#include "nndeploy/dag/node.h"
#include "nndeploy/dag/util.h"
#include "nndeploy/device/buffer.h"
#include "nndeploy/device/device.h"
#include "nndeploy/device/memory_pool.h"
#include "nndeploy/device/tensor.h"
#include "nndeploy/inference/inference_param.h"
Include dependency graph for graph.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nndeploy::dag::Graph
 Directed Acyclic Graph Node. More...
 
class  nndeploy::dag::TypeGraphRegister
 

Namespaces

 nndeploy
 
 nndeploy::dag
 

Typedefs

using nndeploy::dag::createGraphFunc = std::function< Graph *(const std::string &name, base::InferenceType inference_type, base::DeviceType device_type, Edge *input, Edge *output, base::ModelType model_type, bool is_path, std::vector< std::string > model_value)>
 

Functions

Graph * nndeploy::dag::createGraph (const std::string &name, base::InferenceType inference_type, base::DeviceType device_type, Edge *input, Edge *output, base::ModelType model_type, bool is_path, std::vector< std::string > model_value)
 
Graph * nndeploy::dag::deserialize (const std::string &json_str)
 
Graph * nndeploy::dag::deserialize (rapidjson::Value &json)
 
std::map< std::string, createGraphFunc > & nndeploy::dag::getGlobalGraphCreatorMap ()
 
Graph * nndeploy::dag::loadFile (const std::string &path)
 
base::Status nndeploy::dag::saveFile (Graph *graph, const std::string &path)
 
std::string nndeploy::dag::serialize (Graph *graph)
 
base::Status nndeploy::dag::serialize (Graph *graph, rapidjson::Value &json, rapidjson::Document::AllocatorType &allocator)