Pull Request已成功合入, 合并人@CANN-robot
(感谢 littlecc 的贡献)代码审查
审查总结
本次变更涉及 2 个文件:
-
math/power/README.md(修改,+142/-60):将原docs/power.md的内容合并到 README 中,进行了大幅重写和重组,包括产品支持情况、功能说明、算子参数说明、异常值约定、约束说明、调用方式等章节。经与power_def.cpp、power_tiling_arch35.cpp、power_struct.h等实际代码交叉验证,文档中描述的计算公式、分支逻辑(culType)、默认值、异常值约定、约束条件均与代码实现一致,未发现事实性错误。 -
math/power/docs/power.md(删除,-167 行):内容已合并到 README.md,但 Kernel 直调方式的详细指引(具体文件路径、入口函数名、tilingKey 编码方式)在合并过程中被遗漏,而新 README 的约束说明中仍提及 kernel-launch 场景,形成文档缺口。
发现问题统计
| 优先级 | 数量 |
|---|---|
| P0 | 0 |
| P1 | 0 |
| P2 | 0 |
| P3 | 1 |
总体风险评估
低风险。文档合并整体准确,与代码实现一致。唯一的 P3 项是 Kernel 直调指引遗漏——不影响图算子用户的正常使用,仅对需要 kernel-launch 场景的开发者造成不便。
⚠️ 已识别出整体风险,但无法提取行内评论,请参考整体评估。


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 |
|---|---|---|
| */*/README.md | ✅ 陈娇, 宋恺, 周奇龙 (3/2) | ✅ 陈娇 (1/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
littlecc, thanks for your pull request. All authors of the commits have signed the CLA. 👍


流水线任务触发成功
任务链接 [99fcdaa6042344f8bc0b77a07bf6d86e][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| 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 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station_9030_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single | ✅ 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 17:57:11] CI执行结束


流水线任务触发成功
任务链接 [3e28464edb85410ba93cf2dfe6e45a12][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| 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_precommit | ✅ SUCCESS | >>>>> |
[2026-07-23 17:48:20] CI执行结束


/lgtm
/approve


描述
power算子按规范修改文档
关联的Issue
#2307
测试
文档更新
类型标签