Y = torch.from_numpy(wipeAndPupil).to(X.device) # wipeAndPupil 从numpy转换为tensor Y=Y.type(torch.cuda.FloatTensor)
上一篇 sublime安装和使用教程
下一篇 Python中使用openpyxl库 处理Excel表格,将结果保存到生成的新的Excel表格
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号