| Algorithm 1 Multi-Head Attention Algorithm. |
|
Input: , of the time series, n the number of attention Output: U the result of multi-head attention for h = 0 to n do I← P← ← W← ← U← end for return U |
| Algorithm 1 Multi-Head Attention Algorithm. |
|
Input: , of the time series, n the number of attention Output: U the result of multi-head attention for h = 0 to n do I← P← ← W← ← U← end for return U |