TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.contrib.graph_editor.remove_control_inputs

View source on GitHub

Remove the control inputs cops from co.

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

Args:

Raises:

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