Skip to content

Commit

Permalink
Merge pull request #7 from ArkAung/master
Browse files Browse the repository at this point in the history
Update function name in ON_LSTM.py
  • Loading branch information
yikangshen authored May 21, 2019
2 parents 8307753 + 975a8f3 commit 46d63cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ON_LSTM.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,6 @@ def forward(self, input, hidden):
if __name__ == "__main__":
x = torch.Tensor(10, 10, 10)
x.data.normal_()
lstm = LSTMCellStack([10, 10, 10])
lstm = ONLSTMStack([10, 10, 10], chunk_size=10)
print(lstm(x, lstm.init_hidden(10))[1])

0 comments on commit 46d63cd

Please sign in to comment.