mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Fixed a typo in dataset.py (#146600)
Changed word 'Mult' to 'Multi'. Pull Request resolved: https://github.com/pytorch/pytorch/pull/146600 Approved by: https://github.com/Skylion007
This commit is contained in:
parent
41e6d189a3
commit
ecf44d1002
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ class IterableDataset(Dataset[_T_co], Iterable[_T_co]):
|
|||
[tensor([3]), tensor([4]), tensor([5]), tensor([6])]
|
||||
|
||||
>>> # xdoctest: +REQUIRES(POSIX)
|
||||
>>> # Mult-process loading with two worker processes
|
||||
>>> # Multi-process loading with two worker processes
|
||||
>>> # Worker 0 fetched [3, 4]. Worker 1 fetched [5, 6].
|
||||
>>> # xdoctest: +IGNORE_WANT("non deterministic")
|
||||
>>> print(list(torch.utils.data.DataLoader(ds, num_workers=2)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue