Closed
[Bug-Report|缺陷反馈]: embeddingbag修复paddingidx将idx全跳过的空bag情况 #4122
Wang XuAdd on Jul 16Closed at Jul 20
Wang Xu
Jul 16 Comments:
Jul 16 Comments:
/assign


Jul 16 Assign Apricityh as responsible person
Jul 20 Close issue
Jul 20 Added label: resolved
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
embeddingbag修复paddingidx将idx全跳过的空bag情况,精度失败
Environment / 环境信息 (Mandatory / 必填)
A5
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
当idx全为0时,paddingidx全为0的情况会将bag内的全跳过而取到-inf
Describe the expected behavior / 预期结果 (Mandatory / 必填)
精度pass
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
nan
Special notes for this issue/备注 (Optional / 选填)