title: PyTorch : error message "torch has no [...] member"
body: <p>Good evening,
  I have just installed PyTorch 0.4.0 and I'm trying to carry out the first tutorial "What is PyTorch?"
  I have written a Tutorial.py file which I try to execute with Visual Studio Code</p>
  
  <p>Here is the code :</p>
  
  <pre><code>from __future__ import print_function
  import torch
  
  print (torch.__version__)
  
  x = x = torch.rand(5, 3)
  print(x)
  </code></pre>
  
  <p>Unfortunately, when I try to debug it, i have an error message :
  "torch has no rand member"</p>
  
  <p>This is true with any member function of torch I may try</p>
  
  <p>Can anybody help me please?</p>