第二個pytorch任務

task2 import torch from torch.autograd import Variable import torch.nn.functional as tnf import matplotlib.pyplot as plt x=torch.unsqueeze(torch.linspace(-1,1,100),dim=1) y=x.pow(4)+0.2*torch.rand(x.
相關文章
相關標籤/搜索