PyTorch中的CrossEntropyLoss和BCEWithLogitcsLoss
摘要:
CrossEntropyLoss=LogSoftMax+NLLLoss BCEWithLogitcsLoss=Sigmoid+BCELoss https://pytorch.org/docs/master/generated/torch.nn.CrossEntropyLoss.html https: 阅读全文
posted @ 2021-04-22 00:54 博闻强记2010 阅读(352) 评论(0) 推荐(0) 编辑