已关闭
[Bug-Report|缺陷反馈]: multi_scale_deformable_attention_grad算子中缺少关于shape的校验 #4512
万世林创建于  8月3日关闭于  8月4日
万世林成员
8月3日 创建

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

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

https://gitcode.com/cann/ops-nn/blob/master/vfusion/multi_scale_deformable_attention_grad/docs/aclnnMultiScaleDeformableAttentionGrad.md 中对shape有明确的描述和约束,如输入value和location的shape的第一维均是bs,显然这两个应该是相同的,还用明确提到输出gradValue的shape与输入value的shape保持一致。但是这些内容都没有在
https://gitcode.com/cann/ops-nn/blob/master/vfusion/multi_scale_deformable_attention_grad/op_host/op_api/aclnn_multi_scale_deformable_attention_grad.cpp 进行任何校验。

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

无

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

默认存在

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

aclnn接口中进行校验。

无

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

likedislike
万万世林成员
8月3日 添加了label:bug-report
万万世林成员
8月3日 修改了issue 的描述
万万世林成员
8月3日 修改了issue 的描述
CANN-robotCANN-robot成员
8月4日 关闭了 issue
CANN-robotCANN-robot成员
8月4日 添加了label:resolved