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

Method SetGraphDoneHook

driver/cpu/cpu_driver.cpp:129–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void CPUDriver::SetGraphDoneHook(Device* dev, void* graph_handle, dev_graph_cb_t func)
130{
131 DevContext* context = reinterpret_cast<DevContext*>(graph_handle);
132 context->graph_cb = func;
133}
134
135Subgraph* CPUDriver::GetOptimizedGraph(Device* dev, void* graph_handle)
136{

Callers 1

DevRunMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected