例如,對於線性擬合案例,損失函數就是均方誤差,即MSE. output = net(input) target = torch.randn(10) # a dummy target, for example target = target.
確定! 回上一頁