Enhance check_nan_inf implementation for CPU. (#48591)
* Enable to print device info. * Enhance the nan and inf checking for cpu. * Implement a common print function. * Unify the check of complex numbers. * Rewrite the omp method. * Count and print the number of nan and inf. * Change the print content. * Add unittest.
Showing
想要评论请 注册 或 登录