Definition
Long short-term memory (LSTM) is a type of RNN aimed at dealing with the vanishing gradient problem. The model is composed of a cell, an input gate, an output gate, and a forget gate. The three gates regulate the flow of information into and out of the cell.
Architecture
where: