Takes the given number of completed elements from a barrier.
tf.raw_ops.BarrierTakeMany(
handle,
num_elements,
component_types,
allow_small_batch=False,
wait_for_incomplete=False,
timeout_ms=-1,
name=None
)
This operation concatenates completed-element component tensors along the 0th dimension to make a single component tensor.
Elements come out of the barrier when they are complete, and in the order in which they were placed into the barrier. The indices output provides information about the batch in which each element was originally inserted into the barrier.
Returns | |
---|---|
A tuple of Tensor objects (indices, keys, values).
|
|
indices
|
A Tensor of type int64 .
|
keys
|
A Tensor of type string .
|
values
|
A list of Tensor objects of type component_types .
|