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

Method GraphTask

executor/lib/graph_task.cpp:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37namespace TEngine {
38
39GraphTask::GraphTask(GraphExecutor* graph_executor)
40{
41 graph_executor_ = graph_executor;
42 graph_ = graph_executor->GetGraph();
43 p_exec_attr_ = graph_executor->GetExecAttr();
44 dev_engine_ = nullptr;
45 optimized_graph_ = nullptr;
46 status_ = EXEC_STATUS_CREATED;
47}
48
49void GraphTask::AddSubgraphTask(SubgraphTask* sub_task)
50{

Callers

nothing calls this directly

Calls 2

GetGraphMethod · 0.45
GetExecAttrMethod · 0.45

Tested by

no test coverage detected