Generative AI
Accenture DumpmediumGenerative AISequence Generation with RNNs - Post Quiz

What is the primary difference between LSTM and GRU?

Answer options

A
LSTM has 3 gates, GRU has 2
B
LSTM is older, GRU is newer
C
LSTM is faster, GRU is slower
D
LSTM is for sequences, GRU is for images
E
LSTM has input, forget, and output gates; GRU has reset
F
and update gates

Correct answer: LSTM has input, forget, and output gates; GRU has reset, and update gates

Explanation

LSTM has three gates — input, forget, and output gates — that control information flow through the cell state. GRU simplifies this with only two gates: reset and update gates, making it more computationally efficient. Options [4] and [5] together form the precise answer: 'LSTM has input, forget, and output gates; GRU has reset and update gates.'

Related Accenture Generative AI questions

Practice more Accenture Generative AI questions

PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.