Home
last modified time | relevance | path

Searched refs:nodes_sorted (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/graph/
Dalgorithm.cc68 std::vector<Node*> nodes_sorted; in DFSFromHelper() local
71 nodes_sorted.emplace_back(out_edge->dst()); in DFSFromHelper()
74 std::sort(nodes_sorted.begin(), nodes_sorted.end(), stable_comparator); in DFSFromHelper()
75 for (Node* out : nodes_sorted) { in DFSFromHelper()
162 std::vector<T> nodes_sorted; in ReverseDFSFromHelper() local
164 nodes_sorted.emplace_back(in_edge->src()); in ReverseDFSFromHelper()
166 std::sort(nodes_sorted.begin(), nodes_sorted.end(), stable_comparator); in ReverseDFSFromHelper()
167 for (T in : nodes_sorted) { in ReverseDFSFromHelper()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/segment/
Dsegment.cc281 std::vector<const SimpleNode*> nodes_sorted(nodes.begin(), nodes.end()); in StableDFS() local
282 std::sort(nodes_sorted.begin(), nodes_sorted.end(), in StableDFS()
286 for (const SimpleNode* node : nodes_sorted) { in StableDFS()