标签:san mem oat public auto htm ati detail round
待办
如果张量有变,会报错。
如果用.data 张量有变,不会报错,会导致结果不符合。
cpu()函数作用是将数据从GPU上复制到memory上,相对应的函数是cuda()
https://zhuanlan.zhihu.com/p/46011061
detach() 使用和.detach()和.data的区别
标签:san mem oat public auto htm ati detail round
原文地址:https://www.cnblogs.com/lishikai/p/12368329.html