Skip to content

Commit 3a7f9df

Browse files
mgs28svekars
andauthored
Update intermediate_source/char_rnn_classification_tutorial.py
Co-authored-by: Svetlana Karslioglu <[email protected]>
1 parent 83a6ccf commit 3a7f9df

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
@@ -284,7 +284,7 @@ def label_from_output(output, output_labels):
284284
# Now all it takes to train this network is show it a bunch of examples,
285285
# have it make guesses, and tell it if it's wrong.
286286
#
287-
# We do this by defining a train() function which trains on a given dataset with minibatches. RNNs
287+
# We do this by defining a ``train()`` function which trains the model on a given dataset using minibatches. RNNs
288288
# train similar to other networks so for completeness we include a batched training method here.
289289
# The loop (``for i in batch``) computes the losses for each of the items in the batch before adjusting the
290290
# weights. This operation is repeated until the number of epochs is reached.

0 commit comments

Comments
 (0)