摘要: Pytorch 1.0 手动实现梯度下降 import torch weight=torch.zeros(2,1 ,requires_grad=True) X=torch.tensor([[1.,1.],[3.,1.]],requires_grad=True) y=torch.tensor([2., 阅读全文
posted @ 2026-01-05 23:21 折翼的小鸟先生 阅读(3) 评论(0) 推荐(0)