Require  Parameters of RNN: , learning rate , batch size
1: for  ; ;   do
2:;
3:;
4:
5:
6:
7:;
8:
9: end for
Algorithm 1: Focal CTC implemented in tensorflow.