Algorithm 1.
Input: Trained model parameters “”, input data “X ”, number of time-steps “T”, number of input sequence “N”. |
Output: States activation “”, gates activation “” |
Initialization: Set the state of each cell “inStates” to zero. |
1: for i = 0 to N do |
2: for t = 0 to T do |
3: x ←X(i, :) |
4: |
5: |
6: end for |
7: end for |
8: return , |