Fix label_smoothing for sigmoid_cross_entropy_loss, and test for...
Fix label_smoothing for sigmoid_cross_entropy_loss, and test for softmax_cross_entropy_loss with label_smoothing. The sigmoid cross entropy with label smoothing was broken, and worse the tests for both that and the softmax cross entropy with label smoothing were broken. I've fixed both issues here and added comments walking through the two examples in the tests so as to not inadvertently check in broken tests again. Change: 127100213
Showing
想要评论请 注册 或 登录