Processing math: 100%

 

 

 

Output layer

For the final output layer we have the inputs to the final activation function

z(2)=w(2)1a(1)1+w(2)2a(1)2+b(2),

resulting in the output

a(2)=σ(2)(z(2)).