2022年9月14日

摘要: autograd实现线性回归 In [1]: import torch as t from torch.autograd import Variable as V from matplotlib import pyplot as plt from IPython import display In  阅读全文

posted @ 2022-09-14 14:56 cc小张 阅读(41) 评论(0) 推荐(0)

摘要: 线性回归 In [1]: import torch as t %matplotlib inline from matplotlib import pyplot as plt from IPython import display In [2]: # 设置随机种子,保证在不同计算机上运行时下面的输出一 阅读全文

posted @ 2022-09-14 13:44 cc小张 阅读(23) 评论(0) 推荐(0)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3