Using the optimizer update approach import torch learning_rate = 0.001 X ... y = torch.tensor([0,-1.1,-1.8,-3.1,-4.5]) W = Variable(torch.randn(1), ...
確定! 回上一頁