6 Comments
User's avatar
Tomy's avatar

z3 should be [3, 3, 7]

Balamurali Chandran's avatar

When Calculating ∂L / ∂z2 by multiplying ∂L / ∂a2 with 1 for positive values and 0 otherwise.

∂L / ∂a2 = [1,-1] and then ∂L/ ∂z2 should be [1,0] right? then it should be a different ∂L/∂w2

Arun Dakua's avatar

do we need to transpose ∂L / ∂W1 to get W1 ?

Judy's avatar

There might be a mistake? ∂L / ∂z1 should be [ 1 , -2, 2 , -1] ?

Breno Brito's avatar

Looks like ∂L / ∂z2 = [ 1 , 0 ] and ∂L / ∂z1 = [ 1 , 0 , 2 , 0 ] instead because of ReLU, no?

Judy's avatar

It seems that ReLU is not applied to gradients. Instead, ReLU only works on activation of the output.