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

Function DFS

tensorflow/core/graph/algorithm.cc:89–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87} // namespace
88
89void DFS(const Graph& g, const std::function<void(Node*)>& enter,
90 const std::function<void(Node*)>& leave,
91 const NodeComparator& stable_comparator,
92 const EdgeFilter& edge_filter) {
93 DFSFromHelper(g, {g.source_node()}, enter, leave, stable_comparator,
94 edge_filter);
95}
96
97void DFSFrom(const Graph& g, gtl::ArraySlice<Node*> start,
98 const std::function<void(Node*)>& enter,

Callers 6

FunctionalizeInternalMethod · 0.85
BackwardsConstAnalysisFunction · 0.85
GetPostOrderFunction · 0.85
DFSMethod · 0.85
PrintCyclesMethod · 0.85

Calls 2

DFSFromHelperFunction · 0.85
source_nodeMethod · 0.45

Tested by

no test coverage detected