| Algorithm 1. The neural network algorithm with convolution module and residual structure |
|
Input: Training samples . Initialized parameters in convolution kernel. Weight matrix . The class center of features. Hyper-parameter , in . Learning rate for feature center in . Weight and learning rate in network. The number of iteration . |
|
Output: The parameters . |
| Step 1: while not converge do
|
| Step 2: . |
| Step 3: compute the joint loss by . |
| Step 4: compute the backpropagation error for each by . |
| Step 5: update the parameters by . |
| Step 6: update the parameters by . |
| Step 7: update the parameters by . |
| Step 8: end while
|