Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
aclnnPreluBackward 的 CheckShape 校验与接口文档(docs/aclnnPreluBackward.md)不符,存在两类问题:
Ascend950 PR/DT
输入self (1, 45000) weight(1, 45000) 会校验报错。
正常执行成功。不拦截
无
/assign
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
aclnnPreluBackward 的 CheckShape 校验与接口文档(docs/aclnnPreluBackward.md)不符,存在两类问题:
导致 gradWeight 与 weight 同 shape 的合法场景(文档明确要求"gradWeight的shape与weight的
shape保持一致")被误判为 ACLNN_ERR_PARAM_INVALID。
weight={2,2} + self={2,4,3,2} 这类文档不允许的输入被静默接受,且后续被 flatten 成
一维送入 kernel 按通道权重计算,产生语义错误的结果。
Environment Information / 环境信息 (Mandatory / 必填)
Ascend950 PR/DT
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
输入self (1, 45000) weight(1, 45000) 会校验报错。
Describe the expected behavior / 预期结果 (Mandatory / 必填)
正常执行成功。不拦截
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
无
Special notes for this issue/备注 (Optional / 选填)