Create an op that groups multiple operations.

Aliases:

  • tf.compat.v1.group
  • tf.compat.v2.group
 tf.group(
    *inputs,
    **kwargs
)

Used in the guide:

  • Migrate yourTensorFlow 1 codeto TensorFlow2``
  • Trainingcheckpoints`` When this op finishes, all ops in inputs have finished. This op has no output. tf.tupleSee also and tf.control_dependencies.

Args:

Returns:

An Operation that executes all its inputs.

Raises:

  • ValueError: If an unknown keyword argument is provided.