Pull Request已成功合入, 合并人@CANN-robot
(感谢 tianqiguang 的贡献)🤖 正在生成合并请求摘要,请稍候…


🤖 AI 代码检视正在进行中,请稍候…


Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| math/abs | ✅ 宋恺, 王林木 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/arg_max_with_value | ✅ 王林木, 宋恺 (2/2) | ✅ 宋恺, 王林木 (2/1) |
| math/atan2 | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/bitwise_xor | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/cast | ✅ 宋恺, 王林木 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/ceil | ✅ 宋恺, 王林木 (2/2) | ✅ 宋恺, 王林木 (2/1) |
| math/cummin | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/cumsum | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/div | ✅ 宋恺, 王林木 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/dot | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/exp | ✅ 宋恺, 王林木 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/eye | ✅ 王林木, 宋恺 (2/2) | ✅ 宋恺, 王林木 (2/1) |
| math/floor | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/floor_div | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/floor_mod | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/is_close | ✅ 宋恺, 王林木 (2/2) | ✅ 宋恺, 王林木 (2/1) |
| math/lerp | ✅ 宋恺, 王林木 (2/2) | ✅ 宋恺, 王林木 (2/1) |
| math/lin_space | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/log | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/logical_or | ✅ 王林木, 宋恺 (2/2) | ✅ 宋恺, 王林木 (2/1) |
| math/mod | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/nan_to_num | ✅ 宋恺, 王林木 (2/2) | ✅ 宋恺, 王林木 (2/1) |
| math/neg | ✅ 宋恺, 王林木 (2/2) | ✅ 宋恺, 王林木 (2/1) |
| math/pow | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/reciprocal | ✅ 宋恺, 王林木 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/reduce_all | ✅ 宋恺, 王林木 (2/2) | ✅ 宋恺, 王林木 (2/1) |
| math/reduce_any | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/reduce_log_sum_exp | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/reduce_nansum | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/reduce_prod | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/right_shift | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/round | ✅ 王林木, 宋恺 (2/2) | ✅ 宋恺, 王林木 (2/1) |
| math/rsqrt | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/sign | ✅ 宋恺, 王林木 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/sinh | ✅ 宋恺, 王林木 (2/2) | ✅ 宋恺, 王林木 (2/1) |
| math/sort | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/tanh | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/tanh_grad | ✅ 宋恺, 王林木 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| math/trunc | ✅ 王林木, 宋恺 (2/2) | ✅ 王林木, 宋恺 (2/1) |
| repo-cann/ops-math | ✅ 王林木, 宋恺 (2/2) | ✅ 宋恺, 王林木 (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
tianqiguang, thanks for your pull request. All authors of the commits have signed the CLA. 👍


compile


⚠️ 本次变更过大(119 个文件、10435 行),已超出 AI 代码评审的处理范围,本次跳过。建议拆分为更小的 PR 以获得有效评审。


⚠️ 本次变更过大(119 个文件、10435 行),已超出 AI 代码评审的处理范围,本次跳过。建议拆分为更小的 PR 以获得有效评审。


流水线任务触发成功
任务链接 [697e9022a13048578bc2d79ec4ae0b90][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_experimental_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_harmony-infer | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_ARM_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_experimental_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_910b | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_910c | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_950 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_A5_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_A5_ubuntu24 | ❌ FAILED | >>>>> | |
| Compile_Ascend_X86_mobile_station_9030_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single | ✅ SUCCESS | >>>>> | >>>>> |


流水线任务触发成功
任务链接 [c3ed54fb4e094032aa8290d1de8e55c8][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| codecheck_Pr | ✅ SUCCESS | ||
| StaticCheck_codespell | ✅ SUCCESS | ||
| StaticCheck_link_validity | ✅ SUCCESS | ||
| StaticCheck_resource_existence | ✅ SUCCESS | ||
| StaticCheck_tag_closed | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS | ||
| codecheck_codestyle | ⚠️ WARNING | >>>>> | |
| codecheck_precommit | ❌ FAILED | >>>>> | >>>>> |


compile


流水线任务触发成功
任务链接 [272bfc02be5c4639899ae8af6d352763][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_experimental_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_harmony-infer | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_ARM_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_experimental_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_910b | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_910c | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_950 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_A5_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_A5_ubuntu24 | ❌ FAILED | >>>>> | |
| Compile_Ascend_X86_mobile_station_9030_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single | ✅ SUCCESS | >>>>> | >>>>> |


流水线任务触发成功
任务链接 [bf44d64062c94b63b33388dd5ea78629][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| codecheck_Pr | ✅ SUCCESS | ||
| StaticCheck_codespell | ✅ SUCCESS | ||
| StaticCheck_link_validity | ✅ SUCCESS | ||
| StaticCheck_resource_existence | ✅ SUCCESS | ||
| StaticCheck_tag_closed | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS | ||
| codecheck_codestyle | ⚠️ WARNING | >>>>> | |
| codecheck_precommit | ✅ SUCCESS | >>>>> |
[2026-07-22 14:32:08] CI执行结束


compile


compile


流水线任务触发成功
任务链接 [2b9e929f5d274787b06f4382808203dd][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| antipoison | ✅ SUCCESS | >>>>> | |
| codecheck_Pr | ✅ SUCCESS | ||
| StaticCheck_codespell | ✅ SUCCESS | ||
| StaticCheck_link_validity | ✅ SUCCESS | ||
| StaticCheck_resource_existence | ✅ SUCCESS | ||
| StaticCheck_tag_closed | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS | ||
| codecheck_precommit | ✅ SUCCESS | >>>>> |
[2026-07-23 09:44:49] CI执行结束


流水线任务触发成功
任务链接 [8221e7c51f494cc788a0e5b7d9b1dcc0][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_experimental_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_harmony-infer | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_ARM_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_experimental_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_910b | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_910c | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_950 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_A5_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station_9030_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_A5_ubuntu24_32u | ✅ SUCCESS | >>>>> | |
| UT_Test | ✅ SUCCESS | ||
| UT_Test_experimental | ✅ SUCCESS | ||
| UT_Test_kernel | ✅ SUCCESS | ||
| PreSmoke_A900 | ✅ SUCCESS | >>>>> | |
| API_Check | ✅ SUCCESS | >>>>> | |
| PreSmoke_ATK_Test_A2 | ✅ SUCCESS | >>>>> | |
| UT_Test_harmony-infer-chs-math | ✅ SUCCESS |
[2026-07-23 12:17:45] CI执行结束


流水线任务触发成功
任务链接 [ea5533a4f9e645c09daf11b1295b4002][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| codecheck_Pr | ✅ SUCCESS | ||
| StaticCheck_codespell | ✅ SUCCESS | ||
| StaticCheck_link_validity | ✅ SUCCESS | ||
| StaticCheck_resource_existence | ✅ SUCCESS | ||
| StaticCheck_tag_closed | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS | ||
| codecheck_codestyle | ⚠️ WARNING | >>>>> | |
| codecheck_precommit | ✅ SUCCESS | >>>>> |
[2026-07-23 09:48:09] CI执行结束


/lgtm
/approve


描述
将 math 模块下 80+ 算子的 arch35 kernel 实现从 MicroAPI 接口迁移为 Reg(寄存器)接口,统一编程范式。
改动范围
涉及算子: abs, abs_grad, add_n, adjacent_difference, arg_max_with_value, assign_add, assign_sub, atan2, bitwise_xor, cast, cdist, cdist_grad, ceil, complex_abs, cummin, cumsum, div, dot, exp, eye, floor, floor_div, floor_mod, fused_mul_add_n, grouped_bias_add_grad, inv, is_close, kth_value, lerp, lin_space, log, log1p, logical_or, mod, nan_to_num, neg, pow, power, reciprocal, reduce_all, reduce_any, reduce_log_sum_exp, reduce_nansum, reduce_prod, reduce_var, right_shift, rint, round, rsqrt, rsqrt_grad, sign, signbit, sinh, sort, sort_with_index, tanh, tanh_grad, tensor_equal, top_k_v2, trunc, truncate_div 等
改动方式
测试
类型标签
关联的Issue