Searched refs:name_to_id_map (Results 1 – 1 of 1) sorted by relevance
869 std::unordered_map<string, int> name_to_id_map; in BuildClusterSubgraphDef() local871 name_to_id_map.emplace(graph_def.node(i).name(), i); in BuildClusterSubgraphDef()875 [&name_to_id_map](const NodeDef& node0, const NodeDef& node1) { in BuildClusterSubgraphDef()876 CHECK(name_to_id_map.count(node0.name()) > 0); in BuildClusterSubgraphDef()877 CHECK(name_to_id_map.count(node1.name()) > 0); in BuildClusterSubgraphDef()878 const int id0 = name_to_id_map.at(node0.name()); in BuildClusterSubgraphDef()879 const int id1 = name_to_id_map.at(node1.name()); in BuildClusterSubgraphDef()