tf.group(*inputs, **kwargs)

tf.group(*inputs, **kwargs)

See the guide: Control Flow > Control Flow Operations

Create an op that groups multiple operations.

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

See also tuple and with_dependencies.

Args:

*inputs: Zero or more tensors to group. **kwargs: Optional parameters to pass when constructing the NodeDef. * name: A name for this operation (optional).

Returns:

An Operation that executes all its inputs.

Raises:

  • ValueError: If an unknown keyword argument is provided.

Defined in tensorflow/python/ops/control_flow_ops.py.