# tf.contrib.graph_editor.swap_ios

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/graph_editor/reroute.py#L444-L446) |

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

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