Closed
[Bug-Report|缺陷反馈]: 【unfold_grad】修复AICPU代码里的不相同数据类型比较导致的编译报警问题 #3356
tangkaidiAdd on  Sep 29Closed at  Sep 29
tangkaidiCollaborators
Sep 29 Create

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

一、问题描述 (必填)

扫描发现unfold_grad算子AICPU实现内存在编译告警问题。
原因为conversion/unfold_grad/op_kernel_aicpu/unfold_grad_aicpu.cpp文件的原59行和原74行的comparison of integer expressions of different signedness。
input_shape_dims.size()为size_t数据类型,与其比较的数据类型是int64_t。

二、环境信息 (可选)

三、重现步骤 (可选)

四、预期结果 (可选)

💡 备注(选填)

likedislike
TtangkaidiCollaborators
Sep 29 Added label: bug-report
TtangkaidiCollaborators
Sep 29 Assign tangkaidi as responsible person
TtangkaidiCollaborators
Sep 29 Associated pull request
CANN-robotCANN-robotCollaborators
Sep 29 Close issue
CANN-robotCANN-robotCollaborators
Sep 29 Added label: resolved
liuchenghao
liuchenghao
Oct 6 Comments:

【Multica 同步】状态:done;说明:社区侧已由 PR !6043(tangkaidi:「【unfold_grad】修复AICPU不相同数据类型比较编译告警」,2026-09-29 合入)解决本需求,Multica 跟踪单同步关闭,感谢社区贡献者 tangkaidi;详情:Multica issue AI4ME-571

likedislike