Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
GruGrad 算子fp16精度不足,matmul计算时使用的中间变量需要是fp16类型,精度不足。
A2
使用fp16输入与cpu的fp32类型输入进行对比。
使用fp16输入与cpu的fp32类型输入进行对比,满足精度标准。
NA
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
GruGrad 算子fp16精度不足,matmul计算时使用的中间变量需要是fp16类型,精度不足。
Environment / 环境信息 (Mandatory / 必填)
A2
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
使用fp16输入与cpu的fp32类型输入进行对比。
Describe the expected behavior / 预期结果 (Mandatory / 必填)
使用fp16输入与cpu的fp32类型输入进行对比,满足精度标准。
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
NA
Special notes for this issue/备注 (Optional / 选填)