已关闭
[Bug-Report|缺陷反馈]: split_v/split_d/unpack AICPU 算子日志 "Unsupport datatype" 拼写错误(应为 Unsupported) #2964
OpenGood_WeChat创建于 23 天前关闭于 19 天前
22 天前 关联了pull request:fix: correct operator log wording
陈思
22 天前 评论:
22 天前 评论:
22 天前 删除了关联的pull request:fix: correct operator log wording
22 天前 删除了关联的pull request:fix: correct operator log wording
22 天前 关联了pull request:fix: correct typo Unsupport -> Unsupported in split_v/split_d/unpack AICPU logs
22 天前 关联了pull request:fix: correct typo Unsupport -> Unsupported in split_v/split_d/unpack AICPU logs
21 天前 将 Twoliges 设为负责人
19 天前 关闭了 issue
19 天前 添加了label:resolved


一、问题描述 (必填)
ops-math 仓 split_v、split_d、unpack 三个算子的 AICPU 实现中,dtype 不支持的日志文案使用了不存在的英文单词
Unsupport,应为Unsupported(或按仓内主流写法not supported)。逐字证据:
conversion/split_v/op_kernel_aicpu/split_v_aicpu.cpp第 292 行:KERNEL_LOG_ERROR("Unsupport datatype[%s]", DTypeStr(data_type_).c_str());conversion/split_d/op_kernel_aicpu/split_d_aicpu.cpp第 205 行:KERNEL_LOG_WARN("Unsupport datatype[%s]", DTypeStr(data_type_).c_str());conversion/unpack/op_kernel_aicpu/unpack_aicpu.cpp第 223 行:KERNEL_LOG_ERROR("Unsupport data type [%s]", DTypeStr(data_type).c_str());对照组(正确写法):
conversion/strided_slice_v2/op_kernel_aicpu/strided_slice_v2_aicpu.cpp第 288 行:KERNEL_LOG_ERROR("%s kernel data type [%s] not supported.", kStridedSliceV2, DTypeStr(data_type).c_str());二、环境信息 (可选)
三、重现步骤 (可选)
在 AICPU 后端对 split_v/split_d/unpack 算子传入不支持的 dtype(如超出各自 switch 覆盖范围的类型),观察日志文案。
四、预期结果 (可选)
日志文案拼写正确(
Unsupported或not supported)。💡 备注(选填)
纯日志文案问题,无功能影响,共 3 个文件 3 处。