06 2021 档案

摘要:with torch.set_grad_enabled(False): x = torch.zeros(1, requires_grad=True) print(x.requires_grad) y=x*2 print(y.requires_grad) True False在with torch.s 阅读全文
posted @ 2021-06-17 22:28 思所匪夷 阅读(115) 评论(0) 推荐(0)