Skip to content
ml-recall

#bias-gradient

1 question from Neural Network Basics

Timed test

1 question · 1 min · score and explanations at the end

Take a test
Q 1 / 1Score 0 / 0

Question 1: Short answer

mediumAI-checkedNeural Network Basics

A dense layer computes Z=AW+bZ = AW + b for a batch of 3 examples and 2 units, with the bias row bb broadcast to every row. Backpropagation gives the upstream gradient (the 1/B1/B of the mean loss is already included):

D=∂L∂Z=[0.2−0.10.40.3−0.10.5].D = \frac{\partial L}{\partial Z} = \begin{bmatrix} 0.2 & -0.1 \\ 0.4 & 0.3 \\ -0.1 & 0.5 \end{bmatrix}.

The first component of ∂L/∂b\partial L/\partial b is and the second is .

Fill in every blank (hints in the boxes). Enter moves to the next blank.