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
{{ message }}
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
# current implementation only supports batch size equals 1,
# but the algorithm does not necessarily have this limitation
inputs=curr_h[-1].view(1, -1)
nn.LSTMCell outputs (hidden state, cell state) but the order of output is changed in the implementation.
As a result, the cell state is used for output of LSTM.
Is this an intention or wrong implementation?
The text was updated successfully, but these errors were encountered:
If you are right, the implementation is definitely buggy. You can raise a PR. Meanwhile, I'll check the PyTorch documentation for verification. Thanks.
For enas, StackedLSTMCell is implemented as below
nni/src/sdk/pynni/nni/nas/pytorch/enas/mutator.py
Lines 23 to 28 in bf8be1e
nn.LSTMCell outputs (hidden state, cell state) but the order of output is changed in the implementation.
As a result, the cell state is used for output of LSTM.
Is this an intention or wrong implementation?
The text was updated successfully, but these errors were encountered: