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

Method GetNodeInputNum

core/lib/graph_executor.cpp:222–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222int GraphExecutor::GetNodeInputNum(const std::string& node_name)
223{
224 Node* node = FindNode(node_name);
225
226 if(node == nullptr)
227 return -1;
228
229 return node->GetInputNum();
230}
231
232const std::string& GraphExecutor::GetNodeInputTensor(const std::string& node_name, int idx)
233{

Callers

nothing calls this directly

Calls 2

FindNodeFunction · 0.85
GetInputNumMethod · 0.45

Tested by

no test coverage detected