Skip to content

Commit

Permalink
Update function name for __main__ in ON_LSTM
Browse files Browse the repository at this point in the history
  • Loading branch information
ArkAung committed May 17, 2019
1 parent 8307753 commit 975a8f3
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 975a8f3

Please sign in to comment.