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
相關文章
相關標籤/搜索