TensorFlow 1 version View source on GitHub

Create an op that groups multiple operations.
    *inputs, **kwargs

Used in the notebooks

Used in the guide

When this op finishes, all ops in inputs have finished. This op has no output.

See also tf.tuple and tf.control_dependencies.


  • *inputs: Zero or more tensors to group.
  • name: A name for this operation (optional).


An Operation that executes all its inputs.


  • ValueError: If an unknown keyword argument is provided.