Home
last modified time | relevance | path

Searched refs:to_visit (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/python/training/tracking/
Dlayer_utils.py43 to_visit = layer_list[::-1]
45 while to_visit:
46 obj = to_visit.pop()
55 to_visit.extend(obj.layers[::-1])
Dgraph_view.py186 to_visit = collections.deque([self.root])
189 while to_visit:
190 current_trackable = to_visit.popleft()
204 to_visit.append(dependency)
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_bvgraph.h112 BV &to_visit = t1, in isReachable() local
114 to_visit.copyFrom(v[from]); in isReachable()
117 while (!to_visit.empty()) { in isReachable()
118 uptr idx = to_visit.getAndClearFirstOne(); in isReachable()
120 to_visit.setUnion(v[idx]); in isReachable()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmodel_pruner.cc189 std::vector<string> to_visit; in IdentityNTerminalPorts() local
190 to_visit.reserve(graph_size); in IdentityNTerminalPorts()
201 to_visit.push_back(input); in IdentityNTerminalPorts()
206 while (!to_visit.empty()) { in IdentityNTerminalPorts()
207 string curr = to_visit.back(); in IdentityNTerminalPorts()
208 to_visit.pop_back(); in IdentityNTerminalPorts()
223 to_visit.push_back(curr_node->input(pos)); in IdentityNTerminalPorts()
228 to_visit.push_back(input); in IdentityNTerminalPorts()
234 to_visit.push_back(input); in IdentityNTerminalPorts()
Dmemory_optimizer.cc113 std::queue<const NodeDef*> to_visit; in connected_subgraph() local
115 to_visit.push(starting_node); in connected_subgraph()
118 while (!to_visit.empty()) { in connected_subgraph()
119 const NodeDef* current_node = to_visit.front(); in connected_subgraph()
120 to_visit.pop(); in connected_subgraph()
131 to_visit.push(input_node); in connected_subgraph()
138 to_visit.push(output); in connected_subgraph()
/external/tensorflow/tensorflow/compiler/xla/tools/
Dinteractive_graphviz.cc376 std::vector<const HloInstruction*> to_visit = {from}; in ExistsPathFromTo() local
377 while (!to_visit.empty()) { in ExistsPathFromTo()
378 auto* n = to_visit.back(); in ExistsPathFromTo()
382 to_visit.pop_back(); in ExistsPathFromTo()
386 to_visit.push_back(user); in ExistsPathFromTo()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_descriptor.cpp375 std::stack<const BasicBlock*> to_visit; in GetMergingBlocks() local
376 to_visit.push(GetMergeBlock()); in GetMergingBlocks()
377 while (!to_visit.empty()) { in GetMergingBlocks()
378 const BasicBlock* bb = to_visit.top(); in GetMergingBlocks()
379 to_visit.pop(); in GetMergingBlocks()
383 to_visit.push(cfg->block(pred_id)); in GetMergingBlocks()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_descriptor.cpp375 std::stack<const BasicBlock*> to_visit; in GetMergingBlocks() local
376 to_visit.push(GetMergeBlock()); in GetMergingBlocks()
377 while (!to_visit.empty()) { in GetMergingBlocks()
378 const BasicBlock* bb = to_visit.top(); in GetMergingBlocks()
379 to_visit.pop(); in GetMergingBlocks()
383 to_visit.push(cfg->block(pred_id)); in GetMergingBlocks()