Skip to content

Commit 64ed72b

Browse files
authored
Merge pull request pytorch#148 from adham/patch-1
update softmax code example comments
2 parents 137f35a + 6f1a455 commit 64ed72b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/nlp/deep_learning_tutorial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
# then dividing by the normalization constant.
121121
#
122122

123-
# Softmax is also in torch.functional
123+
# Softmax is also in torch.nn.functional
124124
data = autograd.Variable(torch.randn(5))
125125
print(data)
126126
print(F.softmax(data))

0 commit comments

Comments
 (0)