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

Method RemoveInputs

tensorflow/core/grappler/utils.cc:143–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void 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
150void NodeMap::RemoveOutputs(const string& node_name) {
151 outputs_.erase(node_name);

Callers 4

FoldNodeMethod · 0.80
HandleConstMethod · 0.80
OptimizeNodeMethod · 0.80
RewireSubgraphMethod · 0.80

Calls 3

NodeNameFunction · 0.85
nameMethod · 0.65
inputMethod · 0.45

Tested by

no test coverage detected