tf.contrib.graph_editor.ControlOutputs

Class ControlOutputs

Defined in tensorflow/contrib/graph_editor/util.py.

See the guide: Graph Editor (contrib) > Module: util

The control outputs topology.

Properties

graph

Methods

__init__

__init__(graph)

Create a dictionary of control-output dependencies.

Args:

Returns:

A dictionary where a key is a tf.Operation instance and the corresponding value is a list of all the ops which have the key as one of their control-input dependencies.

Raises:

get

get(op)

return the control outputs of op.

get_all

get_all()

update

update()

Update the control outputs if the graph has changed.