Algorithm 1 pseudocode for the proposed algorithm |
1. initialize network 2. reset : inputs = 0, Activations = 0 forward propagation: 3. initialize the inputs do 4. roll over: Activations; cell states 5. loop over a cell, end for 6. do for t=0 to n do Calculates the gate values : inputs gates: forget gates: loop over the cells is block now output gates: update the cell: final hidden state/ final output : end for 7. Single activity detect 8. do Update the weight end for 9. backward propagation do for t=0 to n inputs gates: forget gates: output gates: cell output: 10. Hidden state / final output : end for 11. do z = and Concurrent activity detect end For 12. do for t=0 to n, k = 0 to n-1 do end for 13. Interleaved activity detect 14. end for 15. end for 16. end |