Skip to content

Commit d9fd5ba

Browse files
Change batchify desc to remove ambiguity (#2383)
Co-authored-by: Carl Parker <[email protected]>
1 parent 9633e5f commit d9fd5ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: beginner_source/transformer_tutorial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def forward(self, x: Tensor) -> Tensor:
149149
# into ``batch_size`` columns. If the data does not divide evenly into
150150
# ``batch_size`` columns, then the data is trimmed to fit. For instance, with
151151
# the alphabet as the data (total length of 26) and ``batch_size=4``, we would
152-
# divide the alphabet into 4 sequences of length 6:
152+
# divide the alphabet into sequences of length 6, resulting in 4 of such sequences.
153153
#
154154
# .. math::
155155
# \begin{bmatrix}

0 commit comments

Comments
 (0)