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

Method FindTensor

core/lib/graph.cpp:121–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121Tensor* Graph::FindTensor(const std::string& tensor_name)
122{
123 if(tensor_map_.count(tensor_name))
124 return tensor_map_[tensor_name];
125
126 return nullptr;
127}
128
129bool Graph::CreateNodeFromStatic(Node* node, const StaticGraph* static_graph, const StaticNode* static_node)
130{

Callers 5

create_graph_tensorFunction · 0.45
get_graph_tensorFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 3

mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36