Thank you very much, that’s it!
It seems like the PyTorch Documentation is wrong as it states “…which limits the length of the target sequence such that it must be ≤ the input length”
https://pytorch.org/docs/stable/generated/torch.nn.CTCLoss.html 2