# tf.contrib.graph_editor.detach_control_inputs

<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/edit.py#L38-L48) |

Detach all the external control inputs of the subgraph sgv.

    tf.contrib.graph_editor.detach_control_inputs(
        sgv
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `sgv` | the subgraph view to be detached. This argument is converted to a subgraph using the same rules as the function subgraph.make_view. |

<br />