3
$\begingroup$

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?

$\endgroup$
1
  • $\begingroup$ Please, next time, write a title that contains your actual question and is specific. $\endgroup$
    – nbro
    Commented Apr 30, 2023 at 20:31

1 Answer 1

3
$\begingroup$

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.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .