Skip to content

Commit

Permalink
Fix rendering bug in basics/data_tutorial.py (pytorch#1482)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesonwilliams authored Apr 24, 2021
1 parent 4c48624 commit effbcf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beginner_source/basics/data_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def __getitem__(self, idx):
# --------------------------
#
# We have loaded that dataset into the ``Dataloader`` and can iterate through the dataset as needed.
# Each iteration below returns a batch of ``train_features`` and ``train_labels``(containing ``batch_size=64`` features and labels respectively).
# Each iteration below returns a batch of ``train_features`` and ``train_labels`` (containing ``batch_size=64`` features and labels respectively).
# Because we specified ``shuffle=True``, after we iterate over all batches the data is shuffled (for finer-grained control over
# the data loading order, take a look at `Samplers <https://pytorch.org/docs/stable/data.html#data-loading-order-and-sampler>`_).

Expand Down

0 comments on commit effbcf5

Please sign in to comment.