torch.cat((tensor1, tensor2, tensor3), dim=0)
(tensor1, tensor2, tensor3)
dim=0
torch.cat(tensors, dim=0, *, out=None) → Tensor
tensors
dim = integer