tf.contrib.graph_editor.swap_inputs

View source on GitHub

Swap all the inputs of sgv0 and sgv1 (see reroute_inputs).