Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dwhile_loop_all_reduce_code_motion.cc146 std::stack<HloInstruction*> to_visit; in IsAllReduceMovable() local
147 to_visit.push(instruction); in IsAllReduceMovable()
148 while (!to_visit.empty() && !result.unsupported_operation) { in IsAllReduceMovable()
149 HloInstruction* instruction = to_visit.top(); in IsAllReduceMovable()
150 to_visit.pop(); in IsAllReduceMovable()
159 to_visit.push(user); in IsAllReduceMovable()
164 to_visit.push(user); in IsAllReduceMovable()
182 to_visit.push(user); in IsAllReduceMovable()
213 std::stack<HloInstruction*> to_visit; in IsAllReduceMovable() local
225 to_visit.push(user); in IsAllReduceMovable()
[all …]
/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/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_bvgraph.h111 BV &to_visit = t1, in isReachable() local
113 to_visit.copyFrom(v[from]); in isReachable()
116 while (!to_visit.empty()) { in isReachable()
117 uptr idx = to_visit.getAndClearFirstOne(); in isReachable()
119 to_visit.setUnion(v[idx]); in isReachable()
/external/tensorflow/tensorflow/python/training/tracking/
Dlayer_utils.py145 to_visit = layer_list[::-1]
146 while to_visit:
147 obj = to_visit.pop()
158 to_visit.extend(sub_layers[::-1])
Dgraph_view.py210 to_visit = collections.deque([self.root])
213 while to_visit:
214 current_trackable = to_visit.popleft()
228 to_visit.append(dependency)
Dutil.py106 to_visit = collections.deque([0])
107 while to_visit:
108 node_id = to_visit.popleft()
114 to_visit.append(child.node_id)
/external/llvm-project/libcxx/utils/libcxx/
Dgraph.py237 self.to_visit = []
241 return len(self.to_visit) != 0
244 return len(self.to_visit) == 0
249 self.to_visit += [node]
257 assert len(self.to_visit)
258 elem = self.to_visit[0]
259 del self.to_visit[0]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmodel_pruner.cc207 std::vector<string> to_visit; in IdentityNTerminalPorts() local
208 to_visit.reserve(graph_size); in IdentityNTerminalPorts()
219 to_visit.push_back(input); in IdentityNTerminalPorts()
224 while (!to_visit.empty()) { in IdentityNTerminalPorts()
225 string curr = to_visit.back(); in IdentityNTerminalPorts()
226 to_visit.pop_back(); in IdentityNTerminalPorts()
241 to_visit.push_back(curr_node->input(pos)); in IdentityNTerminalPorts()
246 to_visit.push_back(input); in IdentityNTerminalPorts()
252 to_visit.push_back(input); in IdentityNTerminalPorts()
Dmemory_optimizer.cc132 std::queue<const NodeDef*> to_visit; in connected_subgraph() local
134 to_visit.push(starting_node); in connected_subgraph()
137 while (!to_visit.empty()) { in connected_subgraph()
138 const NodeDef* current_node = to_visit.front(); in connected_subgraph()
139 to_visit.pop(); in connected_subgraph()
150 to_visit.push(input_node); in connected_subgraph()
157 to_visit.push(output); in connected_subgraph()
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Dutils.py105 to_visit = list_all_layers(layer)
106 while to_visit:
107 layer = to_visit.pop()
113 to_visit.extend(list_all_layers(layer))
/external/tensorflow/tensorflow/python/keras/utils/
Dlayer_utils.py427 to_visit = layer_list[::-1]
428 while to_visit:
429 obj = to_visit.pop()
440 to_visit.extend(sub_layers[::-1])
/external/tensorflow/tensorflow/compiler/xla/tools/
Dinteractive_graphviz.cc402 std::vector<const HloInstruction*> to_visit = {from}; in ExistsPathFromTo() local
403 while (!to_visit.empty()) { in ExistsPathFromTo()
404 auto* n = to_visit.back(); in ExistsPathFromTo()
408 to_visit.pop_back(); in ExistsPathFromTo()
412 to_visit.push_back(user); in ExistsPathFromTo()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_descriptor.cpp374 std::stack<const BasicBlock*> to_visit; in GetMergingBlocks() local
375 to_visit.push(GetMergeBlock()); in GetMergingBlocks()
376 while (!to_visit.empty()) { in GetMergingBlocks()
377 const BasicBlock* bb = to_visit.top(); in GetMergingBlocks()
378 to_visit.pop(); in GetMergingBlocks()
382 to_visit.push(cfg->block(pred_id)); in GetMergingBlocks()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_descriptor.cpp374 std::stack<const BasicBlock*> to_visit; in GetMergingBlocks() local
375 to_visit.push(GetMergeBlock()); in GetMergingBlocks()
376 while (!to_visit.empty()) { in GetMergingBlocks()
377 const BasicBlock* bb = to_visit.top(); in GetMergingBlocks()
378 to_visit.pop(); in GetMergingBlocks()
382 to_visit.push(cfg->block(pred_id)); in GetMergingBlocks()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dloop_descriptor.cpp374 std::stack<const BasicBlock*> to_visit; in GetMergingBlocks() local
375 to_visit.push(GetMergeBlock()); in GetMergingBlocks()
376 while (!to_visit.empty()) { in GetMergingBlocks()
377 const BasicBlock* bb = to_visit.top(); in GetMergingBlocks()
378 to_visit.pop(); in GetMergingBlocks()
382 to_visit.push(cfg->block(pred_id)); in GetMergingBlocks()