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

Class NodeComparatorName

tensorflow/core/graph/algorithm.h:41–45  ·  view source on GitHub ↗

Compare two nodes based on their names.

Source from the content-addressed store, hash-verified

39
40// Compare two nodes based on their names.
41struct NodeComparatorName {
42 bool operator()(const Node* n1, const Node* n2) const {
43 return n1->name() < n2->name();
44 }
45};
46
47// Perform a depth-first-search on g starting at the source node.
48// If enter is not empty, calls enter(n) before visiting any children of n.

Callers 9

CompileMethod · 0.85
GetInputsForNodeFunction · 0.85
PartiallyDeclusterGraphFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 2

GetInputsForNodeFunction · 0.68
TESTFunction · 0.68