If my dataset has 28,000 images each of them 224 by 224 pixels, (results in around 350 MB of data)
and my GPU has 12 GB memory. Will PyTorch DataLoader load all the data  in the-memory and keep it there?
I am trying to understand whether it is possible to pass the whole dataset in-memory to another application.  Or does PyTorch keeps only part of the data in memory at all times?
I would like to understand how dataset size and GPU or CPU memory size (and possible batch size) can influence how much data is in memory?
Thank you