![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
Wuxxxu
这个作者很懒,什么都没留下…
展开
-
torch.manual_seed()及其作用
含义 torch.manual_seed(parameter) #为CPU设置种子用于生成随机数,以使得结果是确定的 torch.cuda.manual_seed(parameter)#为当前GPU设置随机种 torch.cuda.manual_seed_all(parameter)#如果使用多个GPU,应该使用为所有的GPU设置种子。 其中parameter为认为设置int型变量 作用 人为设...原创 2020-03-27 21:12:48 · 1726 阅读 · 0 评论 -
python深浅拷贝解析
https://blog.csdn.net/weixin_40807247/article/details/82250553转载 2020-03-27 21:02:08 · 102 阅读 · 0 评论