title: How to get entire dataset from dataloader in PyTorch
body: <p>How to load entire dataset from the DataLoader? I am getting only one batch of dataset.</p>
  
  <p>This is my code</p>
  
  <pre><code>dataloader = torch.utils.data.DataLoader(dataset=dataset, batch_size=64)
  images, labels = next(iter(dataloader))
  </code></pre>