where wkj are the corresponding elements of the output layer weight matrix LW2,1 with the size S2 × S1, b k are the elements of the vector of biases of the output layer b 2  with the length S2 and n k elements of the vector n2 with the length  S2, which serves as the net input n2 of the output layer 2, or as the activation potential of its linear neurons.