# tf.contrib.graph_editor.ControlOutputs

<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/util.py#L338-L390) |

The control outputs topology.

    tf.contrib.graph_editor.ControlOutputs(
        graph
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `graph` | a [`tf.Graph`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/Graph). |

<br />

<br />

<br />

<br />

| ## Raises ||
|---|---|
| `TypeError` | graph is not a [`tf.Graph`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/Graph). |

<br />

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `graph` | <br /> <br /> |

<br />

## Methods

### `get`

[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/graph_editor/util.py#L381-L386)

    get(
        op
    )

return the control outputs of op.

### `get_all`

[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/graph_editor/util.py#L378-L379)

    get_all()

### `update`

[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/graph_editor/util.py#L360-L364)

    update()

Update the control outputs if the graph has changed.