请问相同的mindspore代码在gpu上精度能达到0.59,在ascend上精度只有0.02,可能的原因是什么呢?
mindspore版本1.7.1
ascend 910单卡
****************************************************解答*****************************************************
可能是在Asecend上算子出现溢出问题,如果找到溢出的算子,需要将其设置为fp32运行。具体可以参考精度调试指南,https://www.mindspore.cn/mindinsight/docs/zh-CN/master/accuracy_problem_preliminary_location.html。