| 124 | } |
| 125 | |
| 126 | void NodeMap::AddOutput(const string& node_name, const string& output_name) { |
| 127 | auto output_node = nodes_[NodeName(output_name)]; |
| 128 | CHECK(output_node) << "Output node " << output_name |
| 129 | << " is missing in NodeMap."; |
| 130 | outputs_[node_name].insert(output_node); |
| 131 | } |
| 132 | |
| 133 | void NodeMap::RemoveOutput(const string& node_name, const string& output_name) { |
| 134 | outputs_[node_name].erase(nodes_[NodeName(output_name)]); |
no test coverage detected