Reputation: 150
I wanted to use CTC loss for a sequence model and decided to use Tensorflow API. But when I tried the ctc_loss function, there were 2 arguments label_length, logit_length I am unaware of.
Can someone please give some details about what those parameters are?
Thank you in advance.
Upvotes: 0
Views: 153
Reputation: 1729
Label_length is a tensor of length = batch_size
, each of the values will denote the length of your labels.
Logit_length is a tensor of length = batch_size
, each of the values will denote the length of your inputs.
Upvotes: 1