Support ignore_index for c_softmax_with_cross_entropy_op. (#52157)
* Support ignore_index for c_softmax_with_cross_entropy_op. * Polish code. Remove useless comments and add Testcase. * Polish code for TestCase. * Polish code. * Polish code style. * Polish code. * Change loss calculation formula and ignore_index dtype. * Polish TestCase.
Showing
想要评论请 注册 或 登录