Searched refs:dead_node (Results 1 – 1 of 1) sorted by relevance
863 for (const NodeDef* dead_node : dead_nodes) in RemoveDeadBranches() local864 dead_node_names.insert(dead_node->name()); in RemoveDeadBranches()868 NodeDef* dead_node = itr.first; in RemoveDeadBranches() local869 if (dead_nodes.find(dead_node) != dead_nodes.end()) { in RemoveDeadBranches()876 dead_node->mutable_input()->DeleteSubrange(index, 1); in RemoveDeadBranches()880 dead_node->set_op("Identity"); in RemoveDeadBranches()881 dead_node->mutable_attr()->erase("N"); in RemoveDeadBranches()885 while (pos < dead_node->input_size()) { in RemoveDeadBranches()886 TensorId tensor = ParseTensorName(dead_node->input(pos)); in RemoveDeadBranches()889 auto* inputs = dead_node->mutable_input(); in RemoveDeadBranches()[all …]