Copying Tensors to a an allocated torch storage

I have a bunch of Tensors, say of size torch.Size([3, 224, 224]) each, totaling 99 tensors. If I put all these tensors in a python list say t_list, I want to put this list in a Tensor object, such as t_storage = torch.LongTensor(99, 3, 224, 224),

what is the most efficient way to accomplish this?

torch.stack should do the job for this.

Thank you, @vvanirudh!