Skip to content

Commit b01cae7

Browse files
committed
rnn was initialized twice
1 parent 17b8b4d commit b01cae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intermediate_source/char_rnn_classification_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def train(category_tensor, line_tensor):
349349
print_every = 5000
350350
plot_every = 1000
351351

352-
rnn = RNN(n_letters, n_hidden, n_categories)
352+
353353

354354
# Keep track of losses for plotting
355355
current_loss = 0

0 commit comments

Comments
 (0)