Hi,
torch.cat can only concatenate on an existing dimension. So if you have 1D tensor, the only valid dimension is the 0th one.
If you want to add a new dimension along which to concatenate your tensor, use the torch.stack 483 function.