📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What does the forget gate in an LSTM do?

A. Decides the final output only
B. Adds new input to the cell
C. Removes the hidden layer
D. Decides what information to discard from the cell state ✅

Correct Answer: D. Decides what information to discard from the cell state

Explanation

The forget gate outputs a value between 0 and 1 for each cell-state element, controlling how much past information is kept.