Skip to content

Commit

Permalink
Change batchify desc to remove ambiguity (#2383)
Browse files Browse the repository at this point in the history
Co-authored-by: Carl Parker <carljparker@meta.com>
  • Loading branch information
QasimKhan5x and carljparker authored Jun 1, 2023
1 parent 9633e5f commit d9fd5ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beginner_source/transformer_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def forward(self, x: Tensor) -> Tensor:
# into ``batch_size`` columns. If the data does not divide evenly into
# ``batch_size`` columns, then the data is trimmed to fit. For instance, with
# the alphabet as the data (total length of 26) and ``batch_size=4``, we would
# divide the alphabet into 4 sequences of length 6:
# divide the alphabet into sequences of length 6, resulting in 4 of such sequences.
#
# .. math::
# \begin{bmatrix}
Expand Down

0 comments on commit d9fd5ba

Please sign in to comment.