Fig. 1

LSTM and its governing equations. This layer is designed to capture long-term dependencies in sequential data. In this case the gated mechanisms regulate the flow of information, selectively remembering or forgetting past inputs to model complex temporal relationships over extended sequences.