3

enter image description here

The answer is supposed to be -6, but I don't know how to get that.

Also, in a NN, is that 2nd hidden layer possible, where the neurons are not dependent on all the neurons of the previous layer?

nbro
  • 39,006
  • 12
  • 98
  • 176
duanebobby
  • 33
  • 3
  • Please, next time, write a title that contains your actual question and is specific. – nbro Apr 30 '23 at 20:31

1 Answers1

4

From calculus rules: $\frac{\partial y}{\partial x_1}=\frac{\partial y}{\partial r_1}\frac{\partial r_1}{\partial x_1}+\frac{\partial y}{\partial r_2}\frac{\partial r_2}{\partial x_1}=3c+d=-6$. In a NN the above 2nd hidden layer where the neurons are not dependent on all the neurons of the previous layer is possible and it's usually just called a non fully-connected layer.

mohottnad
  • 711
  • 1
  • 1
  • 9