Practice free →
HomeClaudeaifoundationstransformer_attention › The Transformer architecture replaces recurrence…

The Transformer architecture replaces recurrence and convolutions with

AStacked self-attention and feed-forward layers
BA single dense layer per token in the sequence
CHand-crafted phrase-structure grammar rules
DA recurrent neural network at every layer
Answer & Solution
Correct answer: A. Stacked self-attention and feed-forward layers
The Transformer is built entirely from stacked self-attention sub-layers and position-wise feed-forward sub-layers, plus residual connections and layer normalisation. No recurrence, no convolution.
Solve this in the app — Claude practice & 24k+ MCQs →
Related questions