View source on GitHub |
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
.
Returns | |
---|---|
Same as tensors .
|
Raises | |
---|---|
ValueError
|
If tensors does not contain any Tensor or IndexedSlices .
|
TypeError
|
If control_inputs is not a list of Operation or Tensor
objects.
|