| 288 | } |
| 289 | |
| 290 | bool GraphExecutor::SetGraphOutputNode(const std::vector<std::string>& node_name_list) |
| 291 | { |
| 292 | graph_->ResetOutputNode(); |
| 293 | |
| 294 | for(unsigned int i = 0; i < node_name_list.size(); i++) |
| 295 | { |
| 296 | if(!graph_->AddOutputNode(node_name_list[i])) |
| 297 | return false; |
| 298 | } |
| 299 | |
| 300 | graph_->StripGraph(); |
| 301 | |
| 302 | return true; |
| 303 | } |
| 304 | |
| 305 | Node* GraphExecutor::FindNode(const std::string& name) |
| 306 | { |
nothing calls this directly
no test coverage detected