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.
Args
handle
A Tensor of type mutable string. The handle to a barrier.
num_elements
A Tensor of type int32.
A single-element tensor containing the number of elements to
take.
component_types
A list of tf.DTypes that has length >= 1.
The type of each component in a value.
allow_small_batch
An optional bool. Defaults to False.
Allow to return less than num_elements items if barrier is
already closed.
wait_for_incomplete
An optional bool. Defaults to False.
timeout_ms
An optional int. Defaults to -1.
If the queue is empty, this operation will block for up to
timeout_ms milliseconds.
Note: This option is not supported yet.
name
A name for the operation (optional).
Returns
A tuple of Tensor objects (indices, keys, values).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-01-23 UTC."],[],[]]