已合并
aclnn文档错误修正 #3610
zhuzemao创建于 4月8日
aclnn文档错误修正 #3610
已合并
zhuzemao创建于 4月8日
zhuzemao成员
4月8日

描述

aclnn文档错误修正

关联的Issue

测试

不涉及

文档更新

涉及

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 zhuzemao 的贡献)
Zzhuzemao成员
4月8日 创建了 pull request,commit 77e1d103
CANN-robot
CANN-robot成员
4月8日 评论:

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 /approve or /lgtm
  • Commenting /approve implies 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. 👍

likedislike
CANN-robotCANN-robot成员
4月8日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
4月8日 将crystalhu,yangyang016,fanqirui,zhou-qilong,chenqi317,liubo75,tangweiwei2,gcw_kUomxQ2l,Andy-lb,gcw_Dm2TsRUi设为评审人
CANN-robotCANN-robot成员
4月8日 将gcw_kUomxQ2l,Andy-lb,gcw_Dm2TsRUi设为审查人
zhuzemao成员
4月8日 评论:

compile

likedislike
CANN-robot
CANN-robot成员
4月8日 评论:

问题/功能描述

本次PR集中修复了多个算子API文档中的错误与不一致问题,旨在提升文档的准确性和专业性。主要修复内容包括:修正交叉熵损失、L1损失反向传播、均方误差损失、多标签边缘损失等算子示例代码中的函数名拼写、参数格式及语法错误;统一了Smooth L1 Loss反向传播、SoftMarginLoss反向传播等算子文档中的参数命名(如将 gradOut 统一为 gradOutput);优化了部分算子文档的注释描述和约束说明的清晰度。

修改方案描述

修改方案涉及对多个Markdown格式的API文档文件进行文本修正,不涉及任何核心算子逻辑或接口定义的变更。具体修改包括:修正函数原型中的错误函数名;统一参数名称以保持与接口定义一致;修正示例代码中的格式字符串和变量名;优化注释和约束描述的语法与清晰度。所有修改均属于低风险的文档维护性工作,旨在确保文档示例的正确性、可执行性以及描述的一致性,避免用户产生误解或编译错误。

likedislike
CANN-robotCANN-robot成员
4月8日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
4月8日 评论:

流水线任务触发成功
任务链接 [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执行结束

likedislike
Zzhuzemao成员
4月8日 修改了pull request 的描述
CANN-robot
CANN-robot成员
4月8日 评论:

流水线任务触发成功
任务链接 [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执行结束

likedislike
CANN-robotCANN-robot成员
4月8日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
4月8日 添加了label:ci-pipeline-passed
gitee-yanglulu
gitee-yanglulu
4月8日 评论:

/lgtm

likedislike
CANN-robot
CANN-robot成员
4月8日 评论:

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

likedislike
吴瑶成员
4月8日 评论:

/approve

likedislike
CANN-robot
CANN-robot成员
4月8日 评论:

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

likedislike
范其瑞
范其瑞成员
4月8日 评论:

/lgtm

likedislike
CANN-robot
CANN-robot成员
4月8日 评论:

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

likedislike
liulun0308成员
4月8日 评论:

/approve

likedislike
CANN-robot
CANN-robot成员
4月8日 评论:

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

likedislike
CANN-robotCANN-robot成员
4月8日 添加了label:lgtmapproved
CANN-robot
CANN-robot成员
4月8日 评论:

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.

likedislike
CANN-robotCANN-robot成员
4月8日 合入了pull request