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

Method NodeExists

tensorflow/core/grappler/utils.cc:107–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107bool NodeMap::NodeExists(const string& name) const {
108 const string node_name = NodeName(name);
109 return nodes_.find(node_name) != nodes_.end();
110}
111
112const std::set<NodeDef*>& NodeMap::GetOutputs(const string& node_name) const {
113 auto it = outputs_.find(node_name);

Callers 15

OptimizedNodeExistsMethod · 0.80
MulConvPushDownMethod · 0.80
UniqueNodeNameMethod · 0.80
IsRewrittenMethod · 0.80
TrySimplifyMethod · 0.80
TrySimplifyMethod · 0.80
TrySimplifyMethod · 0.80
TrySimplifyMethod · 0.80
TrySimplifyMethod · 0.80
TrySimplifyMethod · 0.80

Calls 3

NodeNameFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected