(self, output_names)
Removes nodes that are no longer needed for inference from the graph.
Removes nodes that are no longer needed for inference from the graph.
Removes nodes that are no longer needed for inference from the graph .
def remove_dead_nodes(self, output_names):
    """Removes nodes that are no longer needed for inference from the graph."""
    old_output_graph = self.output_graph
    self.output_graph = graph_util.extract_sub_graph(old_output_graph,
                                                     output_names)
def remove_dead_nodes ( self , output_names ) : old_output_graph = self . output_graph self . output_graph = graph_util . extract_sub_graph ( old_output_graph , output_names )