You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it appears that the forward method only returns the output state but not the recurrent state, and the only way to get the recurrent state is to use the step method for each time-step, which presumably is less efficient.
So I was wondering if there is a drop-in replacement for nn.LSTM, which returns both the output state and the last recurrent state?
The text was updated successfully, but these errors were encountered:
Firstly, thanks for releasing the code!
Currently, it appears that the
forward
method only returns the output state but not the recurrent state, and the only way to get the recurrent state is to use thestep
method for each time-step, which presumably is less efficient.So I was wondering if there is a drop-in replacement for nn.LSTM, which returns both the output state and the last recurrent state?
The text was updated successfully, but these errors were encountered: