Closed
[Bug-Report|缺陷反馈]: MSDA算子aclnn接口output参数缺少dim校验 #4299
qiuyiAdd on  Jul 24Closed at  Jul 24
qiuyi
Jul 24 Create

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

Describe the current behavior / 问题描述 (Mandatory / 必填)

MSDA算子aclnn接口output参数缺少dim校验

Environment / 环境信息 (Mandatory / 必填)

950

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

构造shape为[]的output输入调用MSDA算子aclnn接口

Describe the expected behavior / 预期结果 (Mandatory / 必填)

输入被拦截,错误码为161002

期望报错信息为:161002
算子报错信息为:Error: aclnnMultiScaleDeformableAttnFunctionGetWorkspaceSize failed! error code: 561103
ACL Error Details:
2026-07-24-09:09:55.962.965 AclNN_Parameter_Error(EZ1001): Input tensor's shape[[1, 117, 112]] should be same with output's shape[[]].
TraceBack (most recent call last):
Params check failed.

Special notes for this issue/备注 (Optional / 选填)

likedislike
qiuyi
Jul 24 Comments:

/assign

likedislike
CANN-robotCANN-robotCollaborators
Jul 24 Assign qy3311888 as responsible person
Qqiuyi
Jul 24 Associated pull request
CANN-robotCANN-robotCollaborators
Jul 24 Close issue
CANN-robotCANN-robotCollaborators
Jul 24 Added label: resolved