Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e95d798

Browse files
author
Morvan Zhou
committed
update
1 parent 3e3b0e9 commit e95d798

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tutorial-contents/403_RNN_regressor.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __init__(self):
3535
super(RNN, self).__init__()
3636

3737
self.rnn = nn.RNN(
38-
input_size=1,
38+
input_size=INPUT_SIZE,
3939
hidden_size=32, # rnn hidden unit
4040
num_layers=1, # number of rnn layer
4141
batch_first=True, # input & output will has batch size as 1s dimension. e.g. (batch, time_step, input_size)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /