MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / UpdateInput

Method UpdateInput

tensorflow/core/grappler/utils.cc:137–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void NodeMap::UpdateInput(const string& node_name, const string& old_input_name,
138 const string& new_input_name) {
139 RemoveOutput(NodeName(old_input_name), node_name);
140 AddOutput(NodeName(new_input_name), node_name);
141}
142
143void NodeMap::RemoveInputs(const string& node_name) {
144 auto node = nodes_[node_name];

Calls 2

NodeNameFunction · 0.85
AddOutputFunction · 0.85

Tested by

no test coverage detected