Closed denyHell closed 4 years ago
Related issue #759
Hidden states are reset for each episode (but gradient is only computed over the currently collected batch of samples). For manually resetting state see this comment.
yes i just the lines
cell_state = cell_state * (1 - mask)
hidden = hidden * (1 - mask)
which does what you say.
Thanks a lot!
As titled.
If not, how can we do that?