拼接: cat, stack … 使用 cat 在指定维度 dim 上拼接: torch.cat(element_list, dim) >>> a = torch.rand(2,3) >>> b = torch.rand(1,3) >>> c = torch.cat([a,b], dim=0) &