Searched refs:dead_nodes (Results 1 – 1 of 1) sorted by relevance
740 std::unordered_set<const NodeDef*> dead_nodes; in RemoveDeadBranches() local769 if (dead_nodes.find(port.node) == dead_nodes.end()) { in RemoveDeadBranches()777 std::unordered_set<const NodeDef*> local_dead_nodes = dead_nodes; in RemoveDeadBranches()848 std::swap(dead_nodes, local_dead_nodes); in RemoveDeadBranches()854 nodes_idx_to_delete.reserve(dead_nodes.size()); in RemoveDeadBranches()856 if (dead_nodes.count(&optimized_graph->node(i))) in RemoveDeadBranches()862 dead_node_names.reserve(dead_nodes.size()); in RemoveDeadBranches()863 for (const NodeDef* dead_node : dead_nodes) in RemoveDeadBranches()869 if (dead_nodes.find(dead_node) != dead_nodes.end()) { in RemoveDeadBranches()