Merged
[docs] update contents #45080
chenzhenxiAdd on Aug 21
[docs] update contents #45080
Merged
chenzhenxiAdd on Aug 21
chenzhenxi
chenzhenxiCollaborators
Aug 21

【合入来源】

如有社区issue,请关联issue链接
请勿携带内部流程信息(需求链接、问题单、内部issue等)

【修改方案】

调整原生API部分目录,涉及4个版本245个原生API文件,主要修改内容为:

  1. 部分文档目录具体内容的删减或调整;
  2. API文档总目录调整部分顺序;
  3. 存在目录的文档目录展示样式的调整;
  4. 因目录降级为正文导致部分文档缺失二级标题,所有文档添加隐藏的二级标题,处理二级标题缺失及对齐展示格式;
  5. 以及部分API类型的调整,原来属于普通函数,参考上游文档调整为类;
  6. 4个版本的torch-grad.md和2.7.1的torch-onnx.md进行整体调整。

【资料变更】

docs/zh/api/native_api 中文件调整

【接口变更】

不涉及

【功能验证】

说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤
新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图

【CheckList】

PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x]

likedislike
Pull Request has been successfully merged by ascend-robot.
(Thank you for chenzhenxi's contribution.)
chenzhenxichenzhenxiCollaborators
Aug 21 Created pull request, commit c61aeffe
atomgit-bot
atomgit-bot
Aug 21 Comments:

变更摘要

本次 PR 为资料更新(docs),主要调整 docs/zh/api/native_api 下原生 API 文档的目录结构,涉及 4 个版本共 108 个原生 API 文件,其中大部分改动为目录的删减或调整;内容层面做整体调整的是 4 个版本的 torch-grad.md 以及 2.7.1 版本的 torch-onnx.md。本次变更不涉及接口变更。

主要改动

  • 原生 API 文档目录调整: 对 docs/zh/api/native_api 下的原生 API 资料目录进行删减或调整,覆盖 4 个版本共 108 个文件
  • torch-grad.md 内容整体调整: 对 4 个版本的 torch-grad.md 文档内容进行整体更新
  • torch-onnx.md 内容整体调整: 对 2.7.1 版本的 torch-onnx.md 文档内容进行整体更新
likedislike
Incorrect?
atomgit-bot
atomgit-bot
Aug 21 Comments:

🤖 本次改动均为数据 / 生成 / 二进制文件(如测试用例、锁文件、媒体资源),没有可审查的代码逻辑,已跳过 AI 代码审查。

likedislike
Incorrect?
ascend-robotascend-robotCollaborators
Aug 21 Added label: stat/needs-squash
246 messages are collapsed here。 See more
chenrayray
chenrayrayCollaborators
Sep 2 Comments:

/approve

likedislike
ascend-robotascend-robotCollaborators
Sep 2 Added label: approvedlgtm
ascend-robotascend-robotCollaborators
Sep 2 Closed associated issue
ascend-robotascend-robotCollaborators
Sep 2 Merged pull request
AtlasAccount
AtlasAccountCollaborators
Sep 2 Comments:
流水线 pytorch_gitcode_PR_multiVersion#14826 [ commitID:dd691009 ] 已完成
likedislike