已关闭
[Bug-Report|缺陷反馈]:AclnnGeGlu输入scalar时候(dimNum = 0),报错不准确。以及AclnnLogSigmoidForward的readme,对buffer是否支持空指针输入描述不清 #5389
yanzhi2024创建于  8月31日关闭于  8月31日
yanzhi2024成员
8月31日 创建

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

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

AclnnGeGlu输入scalar时候(dimNum = 0),报错不准确。以及AclnnLogSigmoidForward的readme,对buffer是否支持空指针输入描述不清

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

950DT环境

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

输入self为scalar

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

报错不支持scalar输入

         OP_LOGE(ACLNN_ERR_PARAM_INVALID,
                 "outDimNum[%ld] and outGeluDimNum[%ld] must be the same with inputDimNum[%ld].", outDimNum,
                 outGeluDimNum, dimNum),

在这里报错,不符合预期

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

likedislike
Yyanzhi2024成员
8月31日 关联了pull request:fix: AclnnLogSigmoidForward readme fix and AclnnGeGlu change check self shape.
yuning_chenyuning_chen成员
8月31日 将 yanzhi2024 设为负责人
CANN-robotCANN-robot成员
8月31日 关闭了 issue
CANN-robotCANN-robot成员
8月31日 添加了label:resolved