tf.contrib.graph_editor.remove_control_inputs

tf.contrib.graph_editor.remove_control_inputs(
    op,
    cops
)

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

Remove the control inputs cops from co.

Args:

Raises:

  • TypeError: if op is not a tf.Operation.
  • ValueError: if any cop in cops is not a control input of op.