Searched refs:num_nodedefs (Results 1 – 1 of 1) sorted by relevance
489 int num_nodedefs = graph.node_size(); in InitializeFromGraph() local490 node_name_to_index_.rehash(num_nodedefs); in InitializeFromGraph()493 node_type_attrs_.reserve(num_nodedefs); // Only approximate. in InitializeFromGraph()494 node_type_name_to_index_.rehash(num_nodedefs); // Only approximate. in InitializeFromGraph()495 for (int node_idx = 0; node_idx < num_nodedefs; ++node_idx) { in InitializeFromGraph()