Research Article
A General Order Reduction Method of Wideband Digital Predistortion Model Using Attention Mechanism
Algorithm 1
Training of the order reduction method
| Definition: | | 1. Construct the structure of the order reduction method; | | 2. Obtain the training data, including the input and output data of the training; | | 3. Define as the cost function of training. | | Training of the method: | | 1. Initialization: | | 1) Set the learning rate , and the training parameters , , ; | | 2) Initialize vector and ; | | 3) Initialize coefficients . | | 2. Training: | | Loop: | | 1) Calculate the output of the attention module from Equation (17); | | 2) Calculate model output from Equation (19); | | 3) Calculate the cost function from Equation (20); | | 4) Calculate vector and ; | | 5) Update coefficients . | | End |
|