1. torch.cat(inputs, dimension=0)说明torch.cat用于对tensor的拼接,dim默认为0,即从第一维度拼接。表示为4维的图像tensor中,第一维默认为bat.
確定! 回上一頁