Recurrent neural networks Vanilla RNN Long short-term memory (LSTM) Extended long short-term memory (xLSTM) Scalar layer Matrix layer