I don’t think so. If you set it to False, the cache will be populated with your tensors.
Passing it as True will instead get the data from the internal “cache”.
Probably I should change the if-statement for better readability. 
After The first epoch, I call loader.dataset.set_use_cache(True) so that the following epochs will just get the data from the already cached tensors.