| Files | Last commit | Last update |
|---|---|---|
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 days ago | |
npuarch | 15 days ago |