这是模型中唯一需要更改的地方。 backward() 和 torch.optim 会可以应付这种 ... labels = torch.zeros(batch_size, num_classes) \ .scatter_(1, ...
確定! 回上一頁