Searched refs:to_visit (Results 1 – 8 of 8) sorted by relevance
43 to_visit = layer_list[::-1]45 while to_visit:46 obj = to_visit.pop()55 to_visit.extend(obj.layers[::-1])
186 to_visit = collections.deque([self.root])189 while to_visit:190 current_trackable = to_visit.popleft()204 to_visit.append(dependency)
112 BV &to_visit = t1, in isReachable() local114 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()
189 std::vector<string> to_visit; in IdentityNTerminalPorts() local190 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()
113 std::queue<const NodeDef*> to_visit; in connected_subgraph() local115 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()
376 std::vector<const HloInstruction*> to_visit = {from}; in ExistsPathFromTo() local377 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()
375 std::stack<const BasicBlock*> to_visit; in GetMergingBlocks() local376 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()