Pull Request已成功合入, 合并人@CANN-robot
(感谢 zhuzemao 的贡献)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 |
|---|---|---|
| */*/docs/acl*.md | ✅ gcw_kUomxQ2l, fanqirui (2/2) | ✅ gcw_kUomxQ2l (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
zhuzemao, thanks for your pull request. All authors of the commits have signed the CLA. 👍


问题/功能描述
本次PR集中修复了多个算子API文档中的错误与不一致问题,旨在提升文档的准确性和专业性。主要修复内容包括:修正交叉熵损失、L1损失反向传播、均方误差损失、多标签边缘损失等算子示例代码中的函数名拼写、参数格式及语法错误;统一了Smooth L1 Loss反向传播、SoftMarginLoss反向传播等算子文档中的参数命名(如将 gradOut 统一为 gradOutput);优化了部分算子文档的注释描述和约束说明的清晰度。
修改方案描述
修改方案涉及对多个Markdown格式的API文档文件进行文本修正,不涉及任何核心算子逻辑或接口定义的变更。具体修改包括:修正函数原型中的错误函数名;统一参数名称以保持与接口定义一致;修正示例代码中的格式字符串和变量名;优化注释和约束描述的语法与清晰度。所有修改均属于低风险的文档维护性工作,旨在确保文档示例的正确性、可执行性以及描述的一致性,避免用户产生误解或编译错误。


流水线任务触发成功
任务链接 [baa2c9ef5df14f559e989647b658ff91][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| Compile_Ascend_X86_mobile_station | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_experimental | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_950 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_950 | ✅ SUCCESS | >>>>> | >>>>> |
| Pre_Compile | ✅ SUCCESS | ||
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_ARM_monitor | ✅ SUCCESS | >>>>> | >>>>> |
| UT_Test_ophost | ✅ SUCCESS | ||
| UT_Test_opapi | ✅ SUCCESS | ||
| UT_Test_kernel | ✅ SUCCESS | ||
| UT_Test_opgraph | ✅ SUCCESS | ||
| Smoke_A900_npupool | ✅ SUCCESS | >>>>> | |
| ATK_Test_A2 | ✅ SUCCESS |
[2026-04-08 15:11:53] CI执行结束


流水线任务触发成功
任务链接 [3828d268a31a466e9e784f2a79429531][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| anti_virus | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| StaticCheck_codespell_check | ✅ SUCCESS | ||
| StaticCheck_link_validity_check | ✅ SUCCESS | ||
| StaticCheck_resource_existence_check | ✅ SUCCESS | ||
| StaticCheck_tag_closed_check | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS | ||
| codecheck_style | ✅ SUCCESS |
[2026-04-08 15:09:04] CI执行结束


/lgtm


The following users do not have permission to comment /lgtm or /approve on any module in this PR:
gitee-yanglulu


The following users do not have permission to comment /lgtm or /approve on any module in this PR:
wuyao51511, gitee-yanglulu


/lgtm


The following users do not have permission to comment /lgtm or /approve on any module in this PR:
gitee-yanglulu, wuyao51511


/approve


The following users do not have permission to comment /lgtm or /approve on any module in this PR:
gitee-yanglulu, wuyao51511


Review Guide
This pull-request passes review.
Committers who wrote a comment of /approve are: gcw_kUomxQ2l.
Reviewers who wrote a comment of /lgtm are: gcw_kUomxQ2l, fanqirui.


描述
aclnn文档错误修正
关联的Issue
测试
不涉及
文档更新
涉及
类型标签