| 351 | } |
| 352 | |
| 353 | Graph* Graph::CreateFromStatic(const std::string& graph_name, const StaticGraphPtr& static_graph) |
| 354 | { |
| 355 | Graph* new_graph = new Graph(graph_name); |
| 356 | |
| 357 | if(new_graph->RealCreateFromStatic(static_graph)) |
| 358 | return new_graph; |
| 359 | |
| 360 | delete new_graph; |
| 361 | |
| 362 | return nullptr; |
| 363 | } |
| 364 | |
| 365 | bool Graph::RemoveTensor(Tensor* tensor) |
| 366 | { |
nothing calls this directly
no test coverage detected