PyTorch-Regression回归

import torch from torch.autograd import Variable import torch.nn.functional as F import matplotlib.pyplot as plt x = torch.unsqueeze(torch.linspace(-1,1,100),dim = 1) #将一维变成二维 #调用方法:linspace(x1,x
相关文章
相关标签/搜索