Missed TensorFlow World? Check out the recap. Learn more

tf.contrib.graph_editor.swap_outputs

View source on GitHub

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

tf.contrib.graph_editor.swap_outputs(
    sgv0,
    sgv1
)