If merge_repeated is True, merge repeated classes in output.
This means that if consecutive logits' maximum indices are the same,
only the first of these is emitted. The sequence A B B * B * B (where '*'
is the blank label) becomes
A B B B if merge_repeated=True.
A B B B B if merge_repeated=False.
Args
inputs
3-D floatTensor sized [max_time, batch_size, num_classes].
The logits.
sequence_length
1-D int32 vector containing sequence lengths, having size
[batch_size].
merge_repeated
Boolean. Default: True.
Returns
A tuple (decoded, neg_sum_logits) where
decoded
A single-element list. decoded[0]
is an SparseTensor containing the decoded outputs s.t.:
decoded.indices: Indices matrix (total_decoded_outputs, 2).
The rows store: [batch, time].
decoded.values: Values vector, size (total_decoded_outputs).
The vector stores the decoded classes.
[[["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 2021-02-18 UTC."],[],[]]