Add option to CTCLoss to skip items with shorter labels than inputs (returns 0-gradient).
The default behavior is preserved, namely to return an InvalidArgument which stops training when such an invalid item is encountered. PiperOrigin-RevId: 155774918
Loading
Please sign in to comment