| 37 | namespace TEngine { |
| 38 | |
| 39 | GraphTask::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 | |
| 49 | void GraphTask::AddSubgraphTask(SubgraphTask* sub_task) |
| 50 | { |
nothing calls this directly
no test coverage detected