摘要: 背景 在阅读代码过程中经常发现以下几种代码,尤其常见于pytorch书写的深度神经网络代码中 torch.manual_seed(seed) torch.cuda.manual_seed(seed) np.random.seed(seed) torch.cuda.manual_seed_all() 阅读全文
posted @ 2021-06-22 21:50 Chaosun 阅读(744) 评论(0) 推荐(0)