都是pytorch里的方法,作用是让当前张量停止进入计算图
具体的区别参考:https://cloud.tencent.com/developer/article/1659274
标签:函数,常见,tencent,d2l,detach,cloud From: https://www.cnblogs.com/lycnight/p/17581177.html
都是pytorch里的方法,作用是让当前张量停止进入计算图
具体的区别参考:https://cloud.tencent.com/developer/article/1659274
标签:函数,常见,tencent,d2l,detach,cloud From: https://www.cnblogs.com/lycnight/p/17581177.html