Hi @unbornchikken,
Here’s what you’re looking for:
t = torch.rand(4,1)
print t
tr = t.repeat(1, 3)
print tr

You need the original tensor to be an Nx1 tensor (a 2D tensor, with one of those dimensions just with 1 element) rather than a N-element vector.
If you have a vector to start with, just unsqueeze it:
t = torch.rand(4).unsqueeze(1)
print t
tr = t.repeat(1, 3)
print tr