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

Method DevPostrun

executor/lib/node_dev_executor.cpp:259–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259bool NodeExecutor::DevPostrun(void* graph_handle)
260{
261 NodeContext* context = reinterpret_cast<NodeContext*>(graph_handle);
262
263 Subgraph* graph = context->optimized_graph;
264
265 for(unsigned int i = 0; i < graph->seq_nodes.size(); i++)
266 {
267 Node* node = graph->seq_nodes[i];
268
269 if(!node->ExistAttr("DEV_RUN"))
270 continue;
271
272 if(!backend_dev_->Postrun(context->dev_context, node))
273 return false;
274 }
275
276 return true;
277}
278
279bool NodeExecutor::DevReleaseGraphHandle(void* graph_handle)
280{

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
ExistAttrMethod · 0.45
PostrunMethod · 0.45

Tested by

no test coverage detected