/external/tensorflow/tensorflow/compiler/xla/service/ |
D | while_loop_all_reduce_code_motion.cc | 146 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/ |
D | sanitizer_bvgraph.h | 112 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/ |
D | sanitizer_bvgraph.h | 111 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/ |
D | layer_utils.py | 145 to_visit = layer_list[::-1] 146 while to_visit: 147 obj = to_visit.pop() 158 to_visit.extend(sub_layers[::-1])
|
D | graph_view.py | 210 to_visit = collections.deque([self.root]) 213 while to_visit: 214 current_trackable = to_visit.popleft() 228 to_visit.append(dependency)
|
D | util.py | 106 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/ |
D | graph.py | 237 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/ |
D | model_pruner.cc | 207 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()
|
D | memory_optimizer.cc | 132 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/ |
D | utils.py | 105 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/ |
D | layer_utils.py | 427 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/ |
D | interactive_graphviz.cc | 402 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/ |
D | loop_descriptor.cpp | 374 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/ |
D | loop_descriptor.cpp | 374 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/ |
D | loop_descriptor.cpp | 374 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()
|