tf.contrib.graph_editor.ControlOutputs

View source on GitHub

Class ControlOutputs

The control outputs topology.

__init__

View source

__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:

Properties

graph

Methods

tf.contrib.graph_editor.ControlOutputs.get

View source

get(op)

return the control outputs of op.

tf.contrib.graph_editor.ControlOutputs.get_all

View source

get_all()

tf.contrib.graph_editor.ControlOutputs.update

View source

update()

Update the control outputs if the graph has changed.