How to turn a list of tensor to tensor?

Or you can just torch.stack(a + b)

18 Likes