| 141 | } |
| 142 | |
| 143 | void NodeMap::RemoveInputs(const string& node_name) { |
| 144 | auto node = nodes_[node_name]; |
| 145 | for (const auto& input : node->input()) { |
| 146 | RemoveOutput(NodeName(input), node->name()); |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | void NodeMap::RemoveOutputs(const string& node_name) { |
| 151 | outputs_.erase(node_name); |
no test coverage detected