Skip to content

Commit 83a6ccf

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

intermediate_source/char_rnn_classification_tutorial.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ def forward(self, line_tensor):
258258
print(rnn)
259259

260260
######################################################################
261-
# We can then pass our Tensor to the RNN to get a predicted output and
262-
# use a helper function, label_from_output, to get a text label for the class.
261+
# After that we can pass our Tensor to the RNN to obtain a predicted output. Subsequently,
262+
# we use a helper function, ``label_from_output``, to derive a text label for the class.
263263

264264
def label_from_output(output, output_labels):
265265
top_n, top_i = output.topk(1)

0 commit comments

Comments
 (0)