| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
docs: correct dynamic output tensor IR indices Co-authored-by: aodebiao<18003961989@163.com> # message auto-generated for no-merge-commit merge: !1072 merge docs/fix-dynamic-output-ir-index-20261024 into master docs: correct dynamic output tensor IR indices Created-by: gxhgxh2475698 Commit-by: aodebiao Merged-by: cann-robot Description: ## Motivation The bilingual aclSetDynamicTensorAddr example has two input parameters but uses irIndex=0 for its output list. The actual dispatcher treats indices below the active input count as inputs, so these calls select input updates instead of the intended output updates. ## Changes - Use irIndex=2 for both output-list elements, keeping their relative indices unchanged. - Clarify that input parameters precede output parameters in one zero-based index sequence. - Keep both language versions aligned; no runtime code changes. ## Related Issue Fixes #558. ## Tests / Evidence Baseline: de414d06cfb7bf2728a555bfb9fc1d26a4c83792. Source inspection of aclSetDynamicTensorAddr and NnopbaseDynamicIsInput confirms the input-count comparison and output-index subtraction. With the example's two inputs, the original output index 0 selects an input; corrected index 2 selects output parameter 0. Both pages were parsed with Markdown-it: their token/table structure is preserved. The original OAT script and git diff --check pass for the two documentation files. This is source and example validation. No CANN SDK build or NPU execution was performed. ## Documentation Updates The Chinese and English aclSetDynamicTensorAddr.md pages. ## Change Type - [x] Documentation update ## Merge Danger Low: two documentation pages only, matching the existing runtime dispatcher; reversible in one commit. See merge request: cann/opbase!1072 | 17 天前 | |
[Docs] 修正 GetWorkspaceSize 接口名大小写(文档文件名与目录条目) Co-authored-by: aodebiao<18003961989@163.com> # message auto-generated for no-merge-commit merge: !1044 merge docs/fix-getworkspacesize-case into master [Docs] 修正 GetWorkspaceSize 接口名大小写(文档文件名与目录条目) Created-by: gxhgxh2475698 Commit-by: aodebiao Merged-by: cann-robot Description: ## 描述 文档中接口 GetWorkspaceSize 的名称大小写与代码不一致:文档文件名和三处目录条目把接口名写成了 Getworkspacesize(Size 的 S 写成了小写 s),而代码中该接口的实际名称为 GetWorkspaceSize(见 include/nnopbase/opdev/op_executor.h:135、include/nnopbase/opdev/op_cache.h:213 的 uint64_t GetWorkspaceSize() const;),两个文档文件内部的一级标题也一直是正确写法 # GetWorkspaceSize。本次仅统一名称大小写,不涉及任何文档内容调整。 ## 改动内容 1. docs/zh/api/nnopbase/opdev/op_executor/:Getworkspacesize.md 重命名为 GetWorkspaceSize.md。 2. docs/en/api/nnopbase/opdev/op_executor/:Getworkspacesize.md 重命名为 GetWorkspaceSize.md。 3. docs/zh/api/nnopbase/opdev/0_opdev_api_list.md:116:目录条目由 [Getworkspacesize](op_executor/Getworkspacesize.md) 改为 [GetWorkspaceSize](op_executor/GetWorkspaceSize.md)。 4. docs/zh/api/nnopbase/opdev/op_executor/op_executor.md:25:由 [Getworkspacesize](Getworkspacesize.md) 改为 [GetWorkspaceSize](GetWorkspaceSize.md)。 5. docs/en/api/nnopbase/opdev/op_executor/op_executor.md:25:由 [Getworkspacesize](Getworkspacesize.md) 改为 [GetWorkspaceSize](GetWorkspaceSize.md)。 两个重命名文件的正文内容未做任何修改(重命名前后文件内容字节一致)。 ## 关联的Issue 修复 #538([Documentation|文档反馈]: GetWorkspaceSize 接口名被误写为 Getworkspacesize(文档文件名与目录条目大小写不一致)) ## 测试 纯文档改动,不涉及代码,未运行编译与 UT。 验证方式: - 在 docs 目录下检索错误写法:grep -rn "Getworkspacesize" --include=*.md docs,由修改前的 3 处(另有 2 处文件名)降为 0 处; - 检查上述 3 个目录文件的相对链接:断链数为 0,且 docs/zh、docs/en 下 GetWorkspaceSize.md 均存在,链接可正常跳转; - git diff --stat:5 个文件变更,3 处插入 3 处删除(仅目录条目的显示文本与链接目标),两个重命名文件无内容差异。 ## 文档更新 - docs/zh/api/nnopbase/opdev/op_executor/Getworkspacesize.md → GetWorkspaceSize.md(重命名) - docs/en/api/nnopbase/opdev/op_executor/Getworkspacesize.md → GetWorkspaceSize.md(重命名) - docs/zh/api/nnopbase/opdev/0_opdev_api_list.md、docs/zh/api/nnopbase/opdev/op_executor/op_executor.md、docs/en/api/nnopbase/opdev/op_executor/op_executor.md(共 3 处条目名称与链接修正) ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/opbase!1044 | 28 天前 |