Searched refs:fanouts_ (Results 1 – 3 of 3) sorted by relevance
141 return gtl::FindWithDefault(fanouts_, port, fanout_not_found_value_); in GetFanout()218 auto it = fanouts_.find(port); in GetFanouts()219 if (it != fanouts_.end()) { in GetFanouts()266 auto it = fanouts_.find(port); in NumFanouts()267 if (it != fanouts_.end()) count += it->second.size(); in NumFanouts()287 auto it = fanouts_.find(port); in GetFanoutEdges()288 if (it != fanouts_.end()) { in GetFanoutEdges()344 fanouts_[output].emplace(node, -1); in AddFanouts()349 fanouts_[output].emplace(node, i); in AddFanouts()361 return fanouts_; in fanouts()[all …]
54 fanouts_.resize(num_nodes_); in InitializeFromGraph()97 fanouts_[src_idx].push_back(dst_idx); in InitializeFromGraph()127 fanouts_[input_idx].push_back(node_idx); in InitializeFromGraph()137 SortAndRemoveDuplicates(&fanouts_[node_idx]); in InitializeFromGraph()207 return is_valid_node_idx ? fanouts_[node_idx] : empty_fanout_; in GetFanout()
104 std::vector<absl::InlinedVector<int, 2>> fanouts_; // node_idx->output nodes variable