Fix ignore index of c_softmax_with_cross_entropy_op. (#52835)
* Fix bug of reduce_sum op. When input.numel() > INT32_MAX, its result is wrong. * Remove climits. * Fix bug of c_softmax_with_cross_entropy_op. Support ignore_index is negative number.
Showing
想要评论请 注册 或 登录