From https://pytorch.org/docs/master/data.html 465
it could be known that:
number_worker is the subprocess count. If memory_pin not true, it only increase the CPU DDR memory rather the GPU memory. If memory_pin is true, the GPU memory would increase also.
Correct me if you have a different opinion.