This could be expensive but we don't expect to call it often, if at all (only if there are multiple nodes in g_ with the same name)
| 495 | // This could be expensive but we don't expect to call it often, if at all (only |
| 496 | // if there are multiple nodes in g_ with the same name) |
| 497 | bool NodeNameInValues(const std::map<TensorId, TensorId>& input_map, |
| 498 | const StringPiece& node_name) { |
| 499 | for (auto iter = input_map.begin(); iter != input_map.end(); ++iter) { |
| 500 | if (iter->second.first == node_name) return true; |
| 501 | } |
| 502 | return false; |
| 503 | } |
| 504 | |
| 505 | bool NodeNameInValues(const std::vector<string>& control_dependencies, |
| 506 | const StringPiece& node_name) { |
no test coverage detected