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

Method SetGraphInputNode

core/lib/graph_executor.cpp:277–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277bool GraphExecutor::SetGraphInputNode(const std::vector<std::string>& node_name_list)
278{
279 graph_->ResetInputNode();
280
281 for(unsigned int i = 0; i < node_name_list.size(); i++)
282 {
283 if(!graph_->AddInputNode(node_name_list[i]))
284 return false;
285 }
286
287 return true;
288}
289
290bool GraphExecutor::SetGraphOutputNode(const std::vector<std::string>& node_name_list)
291{

Callers

nothing calls this directly

Calls 3

ResetInputNodeMethod · 0.80
sizeMethod · 0.45
AddInputNodeMethod · 0.45

Tested by

no test coverage detected