tf.tuple

Groups tensors together.

The returned tensors have the same value as the input tensors, but they are computed only after all the input tensors have been computed.

See also tf.group and tf.control_dependencies.

tensors A list of Tensors or IndexedSlices, some entries can be None.
control_inputs List of additional ops to finish before returning.
name (optional) A name to use as a name_scope for the operation.

Same as tensors.

ValueError If tensors does not contain any Tensor or IndexedSlices.
TypeError If control_inputs is not a list of Operation or Tensor objects.