pytorch-loss function

来源:互联网 发布:win10用友软件 编辑:程序博客网 时间:2024/06/07 20:13


nn.LogSoftmax()

F.log_softmax()

nn.NLLLoss()

nn.NLLLoss2d()












-----------------reference---------------

1.http://blog.csdn.net/zhangxb35/article/details/72464152?utm_source=itdadao&utm_medium=referral


2. https://discuss.pytorch.org/t/build-your-own-loss-function-in-pytorch/235

3. https://discuss.pytorch.org/t/understanding-loss-function-gradients/771/3

原创粉丝点击