title: pytorch, AttributeError: module 'torch' has no attribute 'Tensor'
body: <p>I'm working with <strong>Python 3.5.1</strong> on a computer having <strong>CentOS Linux 7.3.1611</strong> (Core) operating system.</p>
  
  <p>I'm trying to use <strong>PyTorch</strong> and I'm getting started with <a href="https://github.com/mila-udem/welcome_tutorials/blob/master/pytorch/1.%20The%20Torch%20Tensor%20Library%20and%20Basic%20Operations.ipynb" rel="noreferrer">this tutorial</a>.</p>
  
  <p>Unfortunately, the #4 line of the example creates troubles:</p>
  
  <pre><code>&gt;&gt;&gt; torch.Tensor(5, 3)
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  AttributeError: module 'torch' has no attribute 'Tensor'
  </code></pre>
  
  <p>I cannot understand this error... of course in Torch the 'torch' does have an attribute 'Tensor'. The same command works in Torch.</p>
  
  <p>How can I solve this problem?</p>