LSTM
LSTM
•Forget gate: Determines what information is removed from the memory cell.
•Output gate: Controls what information is output from the memory cell.
This allows LSTM networks to selectively retain or discard information as it flows through
the network which allows them to learn long-term dependencies. The network has a
hidden state which is like its short-term memory. This memory is updated using the
current input, the previous hidden state and the current state of the memory cell.