title: Append a tensor vector to tensor matrix
body: <p>I have a tensor matrix that i simply want to append a tensor vector as another column to it.</p>
  <p>For example:</p>
  <pre><code>    X = torch.randint(100, (100,5))
      x1 = torch.from_numpy(np.array(range(0, 100)))
  </code></pre>
  <p>I've tried <code>torch.cat([x1, X)</code> with various numbers for both <code>axis</code> and <code>dim</code> but it always says that the dimensions don't match.</p>