"""LSTM with CTC for handwritten text recognition within a line.""" import torch from torch import nn