LSTM details

The LSTM is a unit cell that is made of three gates:

  1. the input gate,
  2. the forget gate,
  3. and the output gate.

It also introduces a cell state \( c \), which can be thought of as the long-term memory, and a hidden state \( h \) which can be thought of as the short-term memory.