Groups tensors together.
tf.tuple(
tensors, control_inputs=None, name=None
)
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
.
Args |
tensors
|
A list of Tensor s 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.
|
Raises |
ValueError
|
If tensors does not contain any Tensor or IndexedSlices .
|
TypeError
|
If control_inputs is not a list of Operation or Tensor
objects.
|