ops-nn 仓 AICPU 算子第三批告警整改(前两批见 PR #10631 前序批次与 PR #10662),本轮扫描核对后确认的真告警残留项。本 issue 跟踪该批清理,对应 PR #10997。
LogSoftmaxV2Check
LogSoftmaxV2Compute
const
UpdateOutput
DispatchByDataType
DoCompute
ComputeKernel
ComputeKernelWithType
ValidParam
ParallelSetDefaultValue
GetInputAndCheck
?:
!= KERNEL_STATUS_OK
reverseNum % kEven
!= 0
GetBatchStrides
outer_shape
== static_cast<T>(0)
char*
EigenSparseToDense
SparseTensor& st
st.ToDense<>()
https://gitcode.com/cann/ops-nn/pull/10997
背景
ops-nn 仓 AICPU 算子第三批告警整改(前两批见 PR #10631 前序批次与 PR #10662),本轮扫描核对后确认的真告警残留项。本 issue 跟踪该批清理,对应 PR #10997。
告警清单(18 条 / 14 文件,+29/-29)
LogSoftmaxV2Check/LogSoftmaxV2Compute补充constUpdateOutput/DispatchByDataType/DoCompute补充constComputeKernel/ComputeKernelWithType补充constComputeKernel/ComputeKernelWithType补充constValidParam/ParallelSetDefaultValue补充constGetInputAndCheck补充const?:条件显式比较!= KERNEL_STATUS_OKreverseNum % kEven显式比较!= 0GetBatchStrides的outer_shape加const不处理项(已核对判定)
== static_cast<T>(0)(G.EXP.27):除零防护的精确零检测,为消告警改动语义风险大于收益,建议工具侧豁免;char*为字节缓冲地址而非字符串,误报;EigenSparseToDense的SparseTensor& st(G.CNS.04):调用st.ToDense<>(),受 Eigen API 限制,疑似误报。验证
关联PR
https://gitcode.com/cann/ops-nn/pull/10997