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()
165 std::vector<T> nodes_sorted; in ReverseDFSFromHelper() local
168 nodes_sorted.emplace_back(in_edge->src()); in ReverseDFSFromHelper()
171 std::sort(nodes_sorted.begin(), nodes_sorted.end(), stable_comparator); in ReverseDFSFromHelper()
172 for (T in : nodes_sorted) { in ReverseDFSFromHelper()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/segment/
Dsegment.cc280 std::vector<const SimpleNode*> nodes_sorted(nodes.begin(), nodes.end()); in StableDFS() local
281 std::sort(nodes_sorted.begin(), nodes_sorted.end(), in StableDFS()
285 for (const SimpleNode* node : nodes_sorted) { in StableDFS()