Merged
docs: 修复注释与文档不一致(BitwiseAnd、SquaredDifference 调用说明) #6487
docs: 修复注释与文档不一致(BitwiseAnd、SquaredDifference 调用说明) #6487
Merged
TangPCAdd on 22 days ago
TangPC
TangPCCollaborators
22 days ago

描述

修复调用说明中复制粘贴的算子名:

  • experimental/math/bitwise_and/README.md:SwishGrad -> BitwiseAnd。
  • math/squared_difference/README.md:Square -> SquaredDifference。

关联的Issue

测试

  • pre-commit(含 OAT):通过
  • Markdown 链接/图片检查:无新增失效项
  • Markdown 代码围栏检查:通过
  • 全部 26 个分支合并验证:无冲突

文档更新

  • experimental/math/bitwise_and/README.md
  • math/squared_difference/README.md

类型标签

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for TangPC's contribution.)
TangPCTangPCCollaborators
22 days ago Created pull request, commit f2bdd6d3
atomgit-bot
atomgit-bot
22 days ago Comments:

变更摘要

本 PR 为纯文档修复,主要纠正两处 README 文档中因复制粘贴导致的算子名错误,使调用说明与实际算子保持一致。在 experimental/math/bitwise_and/README.md 的调用方式表格中,将 aclnn调用 一行的说明由 SwishGrad 算子更正为 BitwiseAnd 算子;在 math/squared_difference/README.md 的调用方式表格中,将 图模式调用 一行的说明由 Square 算子更正为 SquaredDifference 算子。改动仅涉及表格中算子名称文字,不涉及接口、参数或行为变化。

主要改动

  • 修正 BitwiseAnd 调用说明: 在 experimental/math/bitwise_and/README.md 中,将 通过 aclnnBitwiseAndTensor 接口方式调用SwishGrad算子 更正为调用 BitwiseAnd 算子,避免文档对接口与算子对应关系的误导。
  • 修正 SquaredDifference 调用说明: 在 math/squared_difference/README.md 中,将 通过算子IR构图方式调用Square算子 更正为调用 SquaredDifference 算子,使图模式调用说明与算子名称一致。
  • 纯文档改动: 两处修改均只调整调用说明表格中的算子名称文字,未变更示例路径、接口链接或任何代码逻辑。

🧩 本次 Review 已使用自定义 Skill:

likedislike
Incorrect?
atomgit-bot
atomgit-bot
22 days ago Comments:

代码审查

✅ 未发现问题


🧩 本次 Review 已使用自定义 Skill:

likedislike
Incorrect?
CANN-robotCANN-robotCollaborators
22 days ago Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
22 days ago Comments:

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.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.


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)
experimental ✅ 顾宝成, 王林木 (2/2) ✅ 顾宝成, 王林木 (2/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
CANN-robot
CANN-robotCollaborators
22 days ago Comments:

CLA Signature Pass

pingchuantang, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robotCollaborators
22 days ago Set FelixTang7,yu-xinjie62,yue-ma,zhou-qilong,gitee-duhuiping,wangrui_,wei-peng-1991,renruhai,su-yueming,zhajianqing123,rxtfeng,luowen203_gg123,loov1,zhangzijie,jia0liang,chenqi317,zl_hw,liu-wei,LiuXinxin23,fullt,LiWei79,songkai111,gitcode-chenjiao,chenxingyu18,demoauguste,llimwang,gubaocheng,andong_hw,fengying555682,xuejinghui,zhanw_coding,clinglai0517,caiwenwen,yanglu-1 as approver
CANN-robotCANN-robotCollaborators
22 days ago Set FelixTang7,yu-xinjie62,yue-ma,zhou-qilong,gitee-duhuiping,wangrui_,wei-peng-1991,renruhai,su-yueming,zhajianqing123,rxtfeng,luowen203_gg123,loov1,zhangzijie,jia0liang,chenqi317,zl_hw,liu-wei,LiuXinxin23,fullt,LiWei79,songkai111,gitcode-chenjiao,chenxingyu18,demoauguste,llimwang,gubaocheng,andong_hw,fengying555682,xuejinghui,zhanw_coding,clinglai0517,caiwenwen,yanglu-1 as approver
TangPC
TangPCCollaborators
22 days ago Comments:

compile

likedislike
TangPCTangPCCollaborators
22 days ago Pre merge succeeded (commit_id: 7e60a77c512368cc3770ab18cbe2fa803a136544)
TangPCTangPCCollaborators
22 days ago Modify description of pull request
CANN-robot
CANN-robotCollaborators
22 days ago Comments:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robotCollaborators
22 days ago Added label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
22 days ago Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
22 days ago Added label: ci-pipeline-passed
gubaochengCollaborators
22 days ago Comments:

/lgtm
/approve
by agent

likedislike
llimwangCollaborators
21 days ago Comments:

/lgtm
/approve

likedislike
CANN-robotCANN-robotCollaborators
21 days ago Added label: lgtm
chenjiaoCollaborators
21 days ago Comments:

/approve

likedislike
CANN-robotCANN-robotCollaborators
21 days ago Added label: approved
CANN-robotCANN-robotCollaborators
21 days ago Closed associated issue
CANN-robotCANN-robotCollaborators
21 days ago Merged pull request