摘要:
原文链接:https://www.runoob.com/python/att-string-format.html 阅读全文
posted @ 2021-05-15 13:30
Guang'Jun
阅读(41)
评论(0)
推荐(0)
摘要:
1..data() 将变量(Variable)变为tensor,将requires_grad设置为Flase a = torch.tensor([1.0], requires_grad=True) b = a.data print(b, b.requires_grad) ## 输出为: tensor 阅读全文
posted @ 2021-05-15 11:39
Guang'Jun
阅读(1119)
评论(0)
推荐(0)
摘要:
 阅读全文
posted @ 2021-05-15 11:19
Guang'Jun
阅读(26)
评论(0)
推荐(0)

浙公网安备 33010602011771号