title: Usage of data.to(device) with cuda GPUs
body: <p>I'm trying to implement a neural network to run across 8 GPUs and i just want clarification on what exactly these commands do</p>
  
  <pre><code>device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
  model.to(device)
  data.to(device)
  </code></pre>
  
  <p>Will this automatically spread the training across the 8 GPUs ?
  Thanks!</p>