pytorch/torch/utils/data
Michael Antonov 698103cdd6 DataLoader docs update to describe how workers are managed, including Windows. (#18091)
Summary:
It's been hard to understand how workers are launched and what code runs in the worker vs. main process, especially on Windows, which leads to many of our samples failing. This explains when workers run an how to make code work on Windows as well.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18091

Differential Revision: D15083766

Pulled By: soumith

fbshipit-source-id: 8a7e60defc8a72ec63874f657d7d5267d951dccf
2019-04-26 16:01:30 -07:00
..
_utils Fix missing import sys in pin_memory.py (#19419) 2019-04-18 22:19:26 -07:00
__init__.py Turn on F401: Unused import warning. (#18598) 2019-03-30 09:01:17 -07:00
__init__.pyi Type annotations for util.data. (#18963) 2019-04-08 09:52:53 -07:00
dataloader.py DataLoader docs update to describe how workers are managed, including Windows. (#18091) 2019-04-26 16:01:30 -07:00
dataloader.pyi Type annotations for util.data. (#18963) 2019-04-08 09:52:53 -07:00
dataset.py Passing indices as a list to Subset instead of Tensor (#17649) 2019-03-10 09:23:53 -07:00
dataset.pyi Type annotations for util.data. (#18963) 2019-04-08 09:52:53 -07:00
distributed.py (#12474) 2018-10-09 11:23:50 -07:00
distributed.pyi Type annotations for util.data. (#18963) 2019-04-08 09:52:53 -07:00
sampler.py fix the docstring of RandomSampler (#19113) 2019-04-23 09:54:20 -07:00
sampler.pyi Type annotations for util.data. (#18963) 2019-04-08 09:52:53 -07:00