Skip to content

Commit 8258deb

Browse files
mgs28jbschlosser
andauthored
Update intermediate_source/char_rnn_classification_tutorial.py
Co-authored-by: Joel Schlosser <[email protected]>
1 parent d9d81a1 commit 8258deb

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
@@ -220,7 +220,7 @@ def __getitem__(self, idx):
220220
# as regular feed-forward layers.
221221
#
222222
# This CharRNN class implements an RNN with three components.
223-
# First, we use the `nn.RNN implemnentation <https://pytorch.org/docs/stable/generated/torch.nn.RNN.html>`__
223+
# First, we use the `nn.RNN implementation <https://pytorch.org/docs/stable/generated/torch.nn.RNN.html>`__
224224
# , next we define a layer that maps the RNN hidden layers to our output and finally we apply a softmax. Using nn.RNN
225225
# leads to a significant improvement in performance (e.g. cuDNN-accelerated kernals) versus implementing
226226
# each layer as a nn.Linear. It also simplifies the implementation in forward().

0 commit comments

Comments
 (0)