Closed
[Bug-Report|缺陷反馈]: EngramHash和EngramFusedWeight算子使用OP_LOGE宏,返回的错误码不明确 #7774
clwsyAdd on 11 days agoClosed at 11 days ago
11 days ago Assign clwsy1 as responsible person
周云飞
11 days ago Comments:
11 days ago Comments:
不同校验失败都显示 EZ9999 会增加定位难度;针对 EngramHash 和 EngramFusedWeight,可以考虑在各校验分支使用与错误类型对应的报错宏,同时保留原有的拦截行为。
目前还需确认各分支实际生成的日志错误码,以及它与对外接口返回值的关系,再评估具体的错误码映射。


11 days ago Close issue
11 days ago Added label: resolved
Describe the current behavior / 问题描述 (Mandatory / 必填)
使用OP_LOGE返回校验信息时,不论是何种拦截信息返回的错误码均为EZ9999,现使用语义话校验报错宏,分别对不同种的拦截信息返回清晰的错误码。
Environment Information / 环境信息 (Mandatory / 必填)
Ascend950
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
现有代码即可复现
Describe the expected behavior / 预期结果 (Mandatory / 必填)
不同的校验信息返回清晰的错误码
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
不涉及
Special notes for this issue/备注 (Optional / 选填)