MCPcopy Create free account
hub / github.com/OAID/Tengine / get_graph_node_number

Function get_graph_node_number

core/lib/tengine_c_api.cpp:873–879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

871}
872
873int get_graph_node_number(graph_t graph)
874{
875 GraphExecutor* executor = reinterpret_cast<GraphExecutor*>(graph);
876 Graph* real_graph = executor->GetOptimizedGraph();
877
878 return real_graph->seq_nodes.size();
879}
880
881node_t get_graph_node_by_idx(graph_t graph, int node_idx)
882{

Callers

nothing calls this directly

Calls 2

GetOptimizedGraphMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected