Solved by ptrblck in post #2 
              
              
                You could use torch.stack: 
n = 10
l = [torch.randn(2, 3) for _ in range(n)]
t = torch.stack(l)
print(t.shape)
> torch.Size([10, 2, 3])