title: How to decipher these 2 lines of code? What does it mean?
body: <p>This is the code:</p>
  <pre><code>real_idx = torch.rand(len(real)) &gt; 0.2
  real_selected = real[real_idx][: int(len(real)*p_real)]
  </code></pre>
  <p>p_real is actually 0.2</p>
  <p>We're supposed to mix 2 tensors, namely the real and the fake tensor.</p>