Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c48624 commit effbcf5Copy full SHA for effbcf5
1 file changed
beginner_source/basics/data_tutorial.py
@@ -225,7 +225,7 @@ def __getitem__(self, idx):
225
# --------------------------
226
#
227
# We have loaded that dataset into the ``Dataloader`` and can iterate through the dataset as needed.
228
-# 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).
229
# Because we specified ``shuffle=True``, after we iterate over all batches the data is shuffled (for finer-grained control over
230
# the data loading order, take a look at `Samplers <https://pytorch.org/docs/stable/data.html#data-loading-order-and-sampler>`_).
231
0 commit comments