| 63 | } |
| 64 | |
| 65 | void* NodeExecutor::DevCreateGraphHandle(Subgraph* graph) |
| 66 | { |
| 67 | void* handle = backend_dev_->CreateGraphHandle(); |
| 68 | |
| 69 | if(handle == nullptr) |
| 70 | return nullptr; |
| 71 | |
| 72 | NodeContext* context = new NodeContext(); |
| 73 | |
| 74 | context->dev_context = handle; |
| 75 | context->sub_graph = graph; |
| 76 | context->optimized_graph = nullptr; |
| 77 | |
| 78 | return context; |
| 79 | } |
| 80 | |
| 81 | bool NodeExecutor::DevOptimizeGraph(void* graph_handle) |
| 82 | { |
nothing calls this directly
no test coverage detected