Question 14
In a Transformer layer, the residual connection is typically implemented as:
output = SubLayer(input)
output = input × SubLayer(input)
output = concat(input, SubLayer(input))
output = input + SubLayer(input)
In a Transformer layer, the residual connection is typically implemented as:
output = SubLayer(input)
output = input × SubLayer(input)
output = concat(input, SubLayer(input))
output = input + SubLayer(input)
Correct answer
output = input + SubLayer(input)
The video solution to this question is being recorded and will play here. Until then, the answer key is above.
Question 14 of 24 in the IIT Madras BS Introduction to Deep Learning and Generative AI (Deep Learning and GenAI) End Term paper sat on 10 May 2026, in the January 2026 term (Introduction To Deep Learning And Generative Ai 06 May 26 (Session 2)). It carries 4 marks.