# tf.contrib.graph_editor.detach_control_outputs

<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#L51-L67) |

Detach all the external control outputs of the subgraph sgv.

    tf.contrib.graph_editor.detach_control_outputs(
        sgv, control_outputs
    )

<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. |
| `control_outputs` | a util.ControlOutputs instance. |

<br />