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

Function GetReversePostOrder

tensorflow/core/graph/algorithm.cc:202–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202void GetReversePostOrder(const Graph& g, std::vector<Node*>* order,
203 const NodeComparator& stable_comparator,
204 const EdgeFilter& edge_filter) {
205 GetPostOrder(g, order, stable_comparator, edge_filter);
206 std::reverse(order->begin(), order->end());
207}
208
209bool PruneForReverseReachability(Graph* g,
210 std::unordered_set<const Node*> start) {

Callers 13

RemoveBackedgesMethod · 0.85
CompileMethod · 0.85
AnalyzeResourceUsageFunction · 0.85
PropagateShapesFunction · 0.85
PartiallyDeclusterGraphFunction · 0.85
AssignStreamsFunction · 0.85
InitializeMethod · 0.85
OptimizeMethod · 0.85
RunPassMethod · 0.85
TESTFunction · 0.85

Calls 4

GetPostOrderFunction · 0.85
reverseFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by 1

TESTFunction · 0.68