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:
Zhou32 2025-02-07 05:09:51 +00:00 committed by PyTorch MergeBot
parent 41e6d189a3
commit ecf44d1002

View file

@ -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)))