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

Method GetNodeOutputNum

core/lib/graph_executor.cpp:258–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258int GraphExecutor::GetNodeOutputNum(const std::string& node_name)
259{
260 Node* node = FindNode(node_name);
261
262 if(node == nullptr)
263 return -1;
264
265 return node->GetOutputNum();
266}
267
268const std::string& GraphExecutor::GetNodeOutputTensor(const std::string& node_name, int idx)
269{

Callers

nothing calls this directly

Calls 2

FindNodeFunction · 0.85
GetOutputNumMethod · 0.45

Tested by

no test coverage detected