PyTorch详解NLLLoss和CrossEntropyLoss ... CrossEntropyLoss() output = loss(input, target) print(output) # 结果 tensor([[-0.6501, -0.7838, ...
確定! 回上一頁