PyTorch Lecture 06: Logistic Regression
记住常用的句型(用多了,应该就记住了)import torchfrom torch.autograd import Variableimport torch.nn.functional as Fx_data = Variable(torch.Tensor([[1.0], [2.0], [3.0], [4.0]]))y_data = Variable(torch.Tensor([[0],...