tf.group

View source on GitHub

Create an op that groups multiple operations.

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

See also tf.tuple and tf.control_dependencies.

Args
*inputs Zero or more tensors to group.
name A name for this operation (optional).
Returns
An Operation that executes all its inputs.
Raises
ValueError If an unknown keyword argument is provided.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/group