Skip to content

Commit 5e5a2b7

Browse files
committed
fix
1 parent 99b2904 commit 5e5a2b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

beginner_source/pytorch_with_examples.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ chooses a random number between 3 and 5 and uses that many orders, reusing
204204
the same weights multiple times to compute the fourth and fifth order.
205205

206206
For this model we can use normal Python flow control to implement the loop,
207-
and we can implement weight sharing among the innermost layers by simply
208-
reusing the same Module multiple times when defining the forward pass.
207+
and we can implement weight sharing by simply reusing the same parameter multiple
208+
times when defining the forward pass.
209209

210210
We can easily implement this model as a Module subclass:
211211

0 commit comments

Comments
 (0)