Gradient LabSign up free

ML glossary › LSTM

What is lstm in machine learning?

Long short-term memory: a recurrent network with gates that control what to remember and forget.

Where it shows up

Sequences and text

LSTM and GRU

An lstm adds a separate memory “belt” that runs along the whole sequence. Information can ride on it for a long time without being squeezed at every step.

See lstm in motion. The lesson animates it step by step, free.

Open the lesson

Related terms