摘要: 导包 import torch import matplotlib.pyplot as plt 设置学习率 learning_rate = 0.01 1.准备数据:y = 3 * x + 0.8 x = torch.rand([500, 1]) y_true = 3 * x + 0.8 w = to 阅读全文
posted @ 2022-10-16 12:45 唤醒11 阅读(67) 评论(0) 推荐(0) 编辑