Missed TensorFlow World? Check out the recap. Learn more

tf.contrib.graph_editor.swap_ios

View source on GitHub

Swap the inputs and outputs of sgv1 to sgv0 (see _reroute_sgv).

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