How to replicate this behaviour
>>> t = torch.tensor([[1, 2, 3], [4, 4, 4]])                                                        
>>> t
tensor([[1, 2, 3],
        [4, 4, 4]])
>>> torch.cat(3*[t])

I want to know how to cat repeat