tf.contrib.graph_editor.swap_outputs

View source on GitHub

Swap all the outputs of sgv0 and sgv1 (see reroute_outputs).