import torch.nn as nn class Model(nn. ... Linear(1, 2) self.vari = Variable(torch.rand([1])) self.par = nn. ... 具体用法,请参阅下面的输入和示例.
確定! 回上一頁