Offline manual backpropagation - Is it correct?

74 Views Asked by At

I want to understand the algorithm of backpropagation so I created this example by myself:

enter image description here

I want to backpropagate through the network offline when

enter image description here

Additionally in last layer we consider linear activation function and MSE as loss function.

My solution

I generally understand the idea behind backpropagation, I want just to assure if I understand how it works in offline case. I have question about two derivatives:

First is about backpropagating error with respect to weight 9

enter image description here

And second is about backpropagation MSE with respect to weight 6:

enter image description here

where neth_2 means input in node h2. Additionally:

enter image description here

enter image description here

Can I please ask you to check whether those derivatives make sense? I'm really not sure how backpropagation works in offline case so it would be very handy for me if you could check it!