Searched refs:node_name_to_index_ (Results 1 – 3 of 3) sorted by relevance
52 node_name_to_index_.rehash(num_nodes_); in InitializeFromGraph()59 node_name_to_index_.emplace(node.name(), node_idx); in InitializeFromGraph()65 const auto src = node_name_to_index_.find(edge.src.node->name()); in InitializeFromGraph()66 const bool valid_src = src != node_name_to_index_.end(); in InitializeFromGraph()77 const auto dst = node_name_to_index_.find(edge.dst.node->name()); in InitializeFromGraph()78 const bool valid_dst = dst != node_name_to_index_.end(); in InitializeFromGraph()111 const auto it = node_name_to_index_.find(tensor.node()); in InitializeFromGraph()112 const bool valid_input = it != node_name_to_index_.end(); in InitializeFromGraph()163 const auto it = node_name_to_index_.find(node_name); in HasNode()164 return it != node_name_to_index_.end(); in HasNode()[all …]
102 absl::flat_hash_map<absl::string_view, int> node_name_to_index_; variable
463 absl::flat_hash_map<absl::string_view, int> node_name_to_index_; member in tensorflow::grappler::__anonab6217530111::GraphTypeTopologyView490 node_name_to_index_.rehash(num_nodedefs); in InitializeFromGraph()497 node_name_to_index_.emplace(node.name(), node_idx); in InitializeFromGraph()519 const auto it = node_name_to_index_.find(tensor.node()); in InitializeFromGraph()520 const bool valid_input = it != node_name_to_index_.end(); in InitializeFromGraph()569 const auto src = node_name_to_index_.find(edge.src.node->name()); in AddEphemeralEdges()570 const bool valid_src = src != node_name_to_index_.end(); in AddEphemeralEdges()582 const auto dst = node_name_to_index_.find(edge.dst.node->name()); in AddEphemeralEdges()583 const bool valid_dst = dst != node_name_to_index_.end(); in AddEphemeralEdges()