Practice free →
HomeClaudeaifoundationsmlp_and_activations › Why does a stack of affine layers collapse witho…

Why does a stack of affine layers collapse without an activation function?

AStacking them runs out of memory on the GPU
BAffine of affine is affine, equivalent to one layer
CThe optimiser refuses to update multiple layers
DStacking is only allowed with skip connections
Answer & Solution
Correct answer: B. Affine of affine is affine, equivalent to one layer
If H = XW¹ + b¹ and O = HW² + b², then O = X(W¹W²) + (b¹W² + b²), a single linear layer. Nonlinearity is what gives depth its power.
Solve this in the app — Claude practice & 24k+ MCQs →
Related questions