pytorch documentation说CrossEntropyLoss 结合了 nn.LogSoftmax() 和 nn.NLLLoss() 在一个类(class)。 看着 NLLLoss ,我还是一头雾水……是不是用了2个log?
確定! 回上一頁