The current Pull Request has been closed by aodebiao.
变更摘要
本 PR 为纯文档改动,针对 docs/api/README.md 中标题层级跳级问题进行修正。该文件在 h1 标题 # ATVOSS接口列表 之后直接使用 h4(####)作为章节标题,跨过了二、三级。按 CANN 文档写作规范中标题层级不跳级的要求,将两处章节标题由 h4 调整为 h2,标题文本与正文内容保持不变。
主要改动
- 修正首处章节标题层级:
docs/api/README.md中位于文件开头的#### 根据ATVOSS架构分层和模板归属不同…调整为## 根据ATVOSS架构分层和模板归属不同…,使 h1 之后直接衔接 h2。 - 修正第二处章节标题层级:
#### 为了方便用户表达compute运算逻辑…调整为## 为了方便用户表达compute运算逻辑…,同样消除跨级问题。 - 保留锚点与正文不变:两处标题内原有的
[表1](#table_ATVOSS)、[表2](#table_Operator)链接及对应表格 HTML 锚点均未改动,跳转不依赖标题级别,改动后仍有效。


Hi @gxhgxh2475698, welcome to submitting your first PR to CANN!
PR Merge Steps
1. CLA Signing
If the current PR label includes cann-cla/yes, it means you have signed the CLA and can proceed to the next step. If the label includes cann-cla/no, please sign the CLA first. If you have any questions, please refer to the FAQ.
2. CI Check
Please comment /compile to trigger the CI pipeline check. If the CI run is successful, the PR will be tagged with ci-pipeline-passed and you can proceed to the next step. If the CI run fails, the PR will be tagged with ci-pipeline-failed, please check the CI logs to fix the issues in the PR. If you have any questions, please refer to the FAQ.
3. Code Review
After CI passes, please refer to the PR Approval Progress and proactively @ the committers in the table to review the code. After approval, committers will comment /lgtm and /approve. Once the lgtm and approved labels are successfully added, the PR will be merged automatically.


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
⚠️ This PR does not yet meet the following requirements:lgtm (requires ≥ 2 person(s) per module)、approve (requires ≥ 1 person(s) per module)
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/atvoss | ❌ (0/2)(You can also ask: 周奇龙, 顾宝成, 徐鲁威, jia0liang, 冯彤) | ❌ (0/1)(You can also ask: jia0liang, 王瑞, 王林木, 冯彤, 周奇龙) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
gxhgxh2475698, thanks for your pull request. All authors of the commits have signed the CLA. 👍


/compile


流水线任务触发成功
任务链接 [40a26519f446447481a94b44e63edafb][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| pre_comment | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| cocheck_codestyle | ✅ SUCCESS | ||
| precommit | ✅ SUCCESS | >>>>> | |
| UT_Test | ✅ SUCCESS | ||
| ST_Test | ✅ SUCCESS | ||
| API_Check | ✅ SUCCESS | >>>>> |
[2026-10-21 22:14:37] CI执行结束


/compile


流水线任务触发成功
任务链接 [8364081c7c4f4ea49797a5fd0a4f2360][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| pre_comment | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| cocheck_codestyle | ✅ SUCCESS | ||
| precommit | ✅ SUCCESS | >>>>> | |
| UT_Test | ✅ SUCCESS | ||
| ST_Test | ✅ SUCCESS | ||
| API_Check | ✅ SUCCESS | >>>>> |
[2026-11-06 22:54:09] CI执行结束


/compile


流水线任务触发成功
任务链接 [52dc99e4106c41e1a7dc2c339e4994d2][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| pre_comment | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| cocheck_codestyle | ✅ SUCCESS | ||
| precommit | ✅ SUCCESS | >>>>> | |
| UT_Test | ✅ SUCCESS | ||
| ST_Test | ✅ SUCCESS | ||
| API_Check | ✅ SUCCESS | >>>>> |
[2026-11-13 16:21:05] CI执行结束


按 Issue #55 的检视结论,这两处是表格前的引导说明,不接受单独调整标题层级。撤回本 PR;关联 Issue 已关闭。


描述
docs/api/README.md在 h1(# ATVOSS接口列表)之后直接使用 h4(####)作为章节标题,跳过二、三级,共 2 处。按 CANN 文档写作规范中标题层级不跳级的要求,将这两处章节标题调整为 h2,标题文本与正文内容不变。改动内容
docs/api/README.md:2:#### 根据ATVOSS架构分层和模板归属不同…→## 根据ATVOSS架构分层和模板归属不同…docs/api/README.md:138:#### 为了方便用户表达compute运算逻辑…→## 为了方便用户表达compute运算逻辑…共 1 个文件、2 行变更(每处仅调整标题级别)。
关联的Issue
修复 #55([Documentation|文档反馈]: docs/api/README.md 标题层级跳级(h1 后直接 h4))
测试
纯文档改动,不涉及代码,未运行编译与 UT。
验证方式:
<a name="table_ATVOSS"></a>、#table_ATVOSS)为显式 HTML 锚点与链接,不依赖标题级别,改动后跳转仍有效;文档更新
docs/api/README.md类型标签