会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
叶十一
博客园
首页
新随笔
联系
订阅
管理
2019年12月6日
通过数学公式验证pytorch中autograd
摘要: 一 code: import torch x = torch.ones(2, 2, requires_grad=True) y = x + 2 z = y y 3 out = z.mean() out.backward() print(x.grad) 输出结果: tensor([[4.5000, 4
阅读全文
posted @ 2019-12-06 13:15 叶十一
阅读(210)
评论(0)
推荐(0)
公告