Unnecessary newline in exception message

PiperOrigin-RevId: 245818022
This commit is contained in:
A. Unique TensorFlower 2019-04-29 14:00:33 -07:00 committed by TensorFlower Gardener
parent c8c1be7fa2
commit c5a75c2821

View File

@ -80,7 +80,7 @@ def strip_unused(input_graph_def, input_node_names, output_node_names,
inputs_replaced_graph_def.node.extend([copy.deepcopy(node)]) inputs_replaced_graph_def.node.extend([copy.deepcopy(node)])
if not_found: if not_found:
raise KeyError("The following input nodes were not found: %s\n" % not_found) raise KeyError("The following input nodes were not found: %s" % not_found)
output_graph_def = graph_util.extract_sub_graph(inputs_replaced_graph_def, output_graph_def = graph_util.extract_sub_graph(inputs_replaced_graph_def,
output_node_names) output_node_names)