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

Method SetGraphPerfAttr

executor/lib/graph_task.cpp:485–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

483 delete optimized_graph_;
484}
485bool GraphTask::SetGraphPerfAttr(const char* name, const void* val, int size)
486{
487 for(unsigned int i = 0; i < sub_task_list_.size(); i++)
488 {
489 auto sub_task = sub_task_list_[i];
490
491 if(!sub_task->SetAttr(name, val, size))
492 return false;
493 }
494
495 return true;
496}
497
498bool GraphTask::GetGraphPerfAttr(const char* name, void* val, int size)
499{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
SetAttrMethod · 0.45

Tested by

no test coverage detected