没有合适的资源?快使用搜索试试~ 我知道了~
import torch import matplotlib.pyplot as plt torch.manual_seed(10) lr = 0.1 #learning rate #train data x = torch.rand(20,1)*10 #x data shape(20,1) y = 2*x+(5+torch.randn(20,1))#y data shape(20,1) #build model w = torch.randn((1),requires_grad=True) b = torch.zeros((1),requires_grad=True) for iterati
资源推荐
资源评论
资源评论
weixin_38631773
- 粉丝: 5
- 资源: 963
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功