LSTM with peepholes and projections forward/backward pass implemented in pytorch for educational purposes.
[1] Greff K. et al, "LSTM: A Search Space Odyssey", https://arxiv.org/pdf/1503.04069.pdf
[2] Gers F. et al, "Learning Precise Timing with LSTM Recurrent Networks", https://www.jmlr.org/papers/volume3/gers02a/gers02a.pdf