Hi,
If your original list contains Tensors as your first post indicate, you can just call torch.cat() 53 or torch.stack() 71 on it to concatenate the tensors into a new one. All elements of the list should be on the same device and the concatenated version will be on the same device as the Tensors in the list.