已关闭
[Bug-Report|缺陷反馈]: acos/sinh/square AICPU 算子错误日志 "ouput" 拼写错误(应为 output) #2962
OpenGood_WeChat创建于 27 天前关闭于 23 天前
25 天前 关联了pull request:fix: correct operator log wording
陈思
25 天前 评论:
25 天前 评论:
25 天前 删除了关联的pull request:fix: correct operator log wording
25 天前 删除了关联的pull request:fix: correct operator log wording
25 天前 关联了pull request:fix: correct typo ouput -> output in acos/sinh/square AICPU error logs
25 天前 将 Twoliges 设为负责人
23 天前 关闭了 issue
23 天前 添加了label:resolved


一、问题描述 (必填)
ops-math 仓 acos、sinh、square 三个算子的 AICPU(CpuKernel)实现中,错误日志存在 5 处拼写错误:
ouput应为output,与 asin 等兄弟算子同句模板的正确拼写不一致。逐字证据:
math/acos/op_kernel_aicpu/acos_aicpu.cpp第 86、93 行:KERNEL_LOG_ERROR( "The data type of the input [%s] need be the same as the ouput [%s].", ...); KERNEL_LOG_ERROR( "The data size of the input [%lu] need be the same as the ouput " "[%lu].", ...);math/sinh/op_kernel_aicpu/sinh_aicpu.cpp第 88、95 行:同款句模板,均为ouput。math/square/op_kernel_aicpu/square_aicpu.cpp第 128 行:KERNEL_LOG_ERROR("The data type of the input [%s] need be the same as the ouput [%s].", ...);对照组(拼写正确):
math/asin/op_kernel_aicpu/asin_aicpu.cpp第 83、88 行同款句模板为...need be the same as the output [%s],拼写正确。二、环境信息 (可选)
三、重现步骤 (可选)
在 AICPU 后端触发 acos/sinh/square 算子的 dtype 或 size 不匹配校验失败,观察错误日志文案。
四、预期结果 (可选)
日志文案拼写为
output。💡 备注(选填)
纯日志文案问题,无功能影响,共 3 个文件 5 处。