Skip to content

Commit 721bde8

Browse files
authored
Add double ticks for proper formatting
1 parent c5b56ae commit 721bde8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/transformer_tutorial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def forward(self, x: Tensor) -> Tensor:
148148
# Given a 1-D vector of sequential data, ``batchify()`` arranges the data
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
151-
# the alphabet as the data (total length of 26) and `batch_size=4`, we would
151+
# the alphabet as the data (total length of 26) and ``batch_size=4``, we would
152152
# divide the alphabet into sequences of length 6, resulting in 4 such sequences:
153153
#
154154
# .. math::

0 commit comments

Comments
 (0)