Input ndarray
Ground-truth labels for the loss.
Lengths of data for each of the samples. Only required when use_data_lengths is true.
Lengths of labels for each of the samples. Only required when use_label_lengths is true.
Set the label that is reserved for blank label.If "first", 0-th label is reserved, and label values for tokens in the vocabulary are between and 1, and the padding mask is alphabet_size-1. If "last", last label value -1 is reserved for blank label instead, and label values for tokens in the vocabulary are between alphabet_size-1 and 0, and the padding mask is alphabet_size-2.
0
Whether the data lenghts are decided by data_lengths. If false, the lengths are equal to the max sequence length.
Whether the label lenghts are decided by label_lengths, or derived from padding_mask. If false, the lengths are derived from the first occurrence of the value of padding_mask. The value of padding_mask is when first CTC label is reserved for blank, and 0 when last label is reserved for blank. See -1blank_label.
This Param Object is specifically used for ctc_loss