title: Concatenate Two Tensors in Pytorch
body: <p>How do I pad a tensor of shape <code>[71 32 1]</code> with zero vectors to make it <code>[100 32 1]</code>?</p>
  <blockquote>
  <p>RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 2. Got 32 and 71 in dimension 0 at /pytorch/aten/src/THC/generic/THCTensorMath.cu:87</p>
  </blockquote>
  <p>I tried by concatenating a padding vector of zeros of shape <code>[29 32 1]</code>. I get the error above. I try with a padding vector of zeros of shape <code>[29 32 1]</code>, I still get an error.</p>