• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
MKT-porter
博客园    首页    新随笔    联系   管理    订阅  订阅
2023年9月21日
pytorch(3) 单层线性回归 训练和预测代码
摘要: import torch import matplotlib.pyplot as plt torch.manual_seed(10) lr = 0.05 # 学习率 # 创建训练数据 x = torch.rand(20, 1) * 10 # x data (tensor), shape=(20, 1 阅读全文
posted @ 2023-09-21 19:40 MKT-porter 阅读(77) 评论(0) 推荐(0)
UBuntu20修复
摘要: https://blog.csdn.net/lyn631579741/article/details/123110176 开始修复搞了一个ubuntu安装的系统盘,然后进入启动界面,进入之后有两个选项 一般安装选择是 install,这里我们只是使用一下 try ubuntu, 一会就进入ubunt 阅读全文
posted @ 2023-09-21 15:39 MKT-porter 阅读(132) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3