已关闭
[Bug-Report|缺陷反馈]: UnsortedSegmentProd算子空Tensor用例精度问题 #6436
zhangxiyan7创建于 9 天前关闭于 8 天前
9 天前 添加了label:bug-report
9 天前 将 zhangxiyan7 设为负责人
yuning_chen
9 天前 评论:
9 天前 评论:
9 天前 关联了pull request:修复UnsortedSegmentProd算子空Tensor用例精度问题
9 天前 关联了pull request:修复UnsortedSegmentProd算子空Tensor用例精度问题
8 天前 关闭了 issue
8 天前 添加了label:resolved


Describe the current behavior / 问题描述 (Mandatory / 必填)
用例规格空Tensor时, UnsortedSegmentProdOutFlTiling::IsCapable直接返回true, 绕过了OutFl模板的dtype支持性检查。当x为uint64/uint32/int64等OutFl不支持的dtype时, KernelOutFlDispatch的if constexpr分支直接return, 连输出初始化(填乘法单位元1)都不执行, 导致空Tensor用例输出全0。
Environment Information / 环境信息 (Mandatory / 必填)
Ascend 950
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
上述环境下执行问题用例即可复现
Describe the expected behavior / 预期结果 (Mandatory / 必填)
用例精度pass
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
用例精度执行情况如下:
Special notes for this issue/备注 (Optional / 选填)