Unverified Commit e85a1132 authored by Hamid Zare's avatar Hamid Zare Committed by GitHub
Browse files

reword parallel execution description for Dataset (#3217)


Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
parent 8d3c5076
......@@ -4,7 +4,7 @@ torchvision.datasets
All datasets are subclasses of :class:`torch.utils.data.Dataset`
i.e, they have ``__getitem__`` and ``__len__`` methods implemented.
Hence, they can all be passed to a :class:`torch.utils.data.DataLoader`
which can load multiple samples parallelly using ``torch.multiprocessing`` workers.
which can load multiple samples in parallel using ``torch.multiprocessing`` workers.
For example: ::
imagenet_data = torchvision.datasets.ImageNet('path/to/imagenet_root/')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment