| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
docs: 补全GatherV3类型及Gather/MaxUnpool反向索引值域说明 Co-authored-by: huang-jz<huangjunzhe2@h-partners.com> # message auto-generated for no-merge-commit merge: !13138 merge docs/issues-7029-7031-7177-7178 into master docs: 补全GatherV3类型及Gather/MaxUnpool反向索引值域说明 Created-by: huang-jz Commit-by: huang-jz Merged-by: cann-robot Description: ## 描述 GatherV3 中英文参数表漏写实现和公开头文件已支持的 COMPLEX128;GatherV3、MaxUnpool2dBackward 和 MaxUnpool3dBackward 文档也未明确索引数据值域是否由接口检查。 补全 COMPLEX128,并明确索引范围由调用者保证,接口不检查索引 tensor 的数据值域,负索引及越界值的行为未定义。MaxUnpool 的范围上界取 gradOutput 空间维乘积,即 outputSize 的元素乘积。按兼容性要求用文档 Warning 说明该约束。 ## 关联的Issue - #7029:https://gitcode.com/cann/ops-nn/issues/7029 - #7031:https://gitcode.com/cann/ops-nn/issues/7031 - #7177:https://gitcode.com/cann/ops-nn/issues/7177 - #7178:https://gitcode.com/cann/ops-nn/issues/7178 ## 测试 基线: 9e03a621626ab3fb659675141c3599781a6781b7;Ubuntu 22.04 aarch64、Ascend 910B2、CANN 9.3.0(20261021)。 - GatherV3 COMPLEX128 真机 18/18 通过:9 组 self shape × INT32/INT64 两类 index,包含首尾合法索引、重复索引、非整数实虚部,以及 [1000,128] / 1536 indices 的大规模路径,输出与 CPU 参考逐字节相同。 - MaxUnpool2d/3dBackward 真机 6/6 通过:两类接口各覆盖合法首尾索引、多 N/C、非方形/非立方形、无 batch 输入,输出与 CPU 参考逐元素完全一致。 - git diff --check 通过;中英文表格和代码块结构检查通过;变更仅 6 个 Markdown 文件,调用示例一致。 上述真机测试使用已安装 CANN 的真实 API/kernel,用于验证文档描述的受支持能力。本 PR 不增加运行时代码或参数报错,也不把越界输入声明为受支持输入。 ## 文档更新 更新 GatherV3、MaxUnpool2dBackward、MaxUnpool3dBackward 中英文 API 文档。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 - [x] AI辅助编写 See merge request: cann/ops-nn!13138 | 1 天前 | |
docs: 补全GatherV3类型及Gather/MaxUnpool反向索引值域说明 Co-authored-by: huang-jz<huangjunzhe2@h-partners.com> # message auto-generated for no-merge-commit merge: !13138 merge docs/issues-7029-7031-7177-7178 into master docs: 补全GatherV3类型及Gather/MaxUnpool反向索引值域说明 Created-by: huang-jz Commit-by: huang-jz Merged-by: cann-robot Description: ## 描述 GatherV3 中英文参数表漏写实现和公开头文件已支持的 COMPLEX128;GatherV3、MaxUnpool2dBackward 和 MaxUnpool3dBackward 文档也未明确索引数据值域是否由接口检查。 补全 COMPLEX128,并明确索引范围由调用者保证,接口不检查索引 tensor 的数据值域,负索引及越界值的行为未定义。MaxUnpool 的范围上界取 gradOutput 空间维乘积,即 outputSize 的元素乘积。按兼容性要求用文档 Warning 说明该约束。 ## 关联的Issue - #7029:https://gitcode.com/cann/ops-nn/issues/7029 - #7031:https://gitcode.com/cann/ops-nn/issues/7031 - #7177:https://gitcode.com/cann/ops-nn/issues/7177 - #7178:https://gitcode.com/cann/ops-nn/issues/7178 ## 测试 基线: 9e03a621626ab3fb659675141c3599781a6781b7;Ubuntu 22.04 aarch64、Ascend 910B2、CANN 9.3.0(20261021)。 - GatherV3 COMPLEX128 真机 18/18 通过:9 组 self shape × INT32/INT64 两类 index,包含首尾合法索引、重复索引、非整数实虚部,以及 [1000,128] / 1536 indices 的大规模路径,输出与 CPU 参考逐字节相同。 - MaxUnpool2d/3dBackward 真机 6/6 通过:两类接口各覆盖合法首尾索引、多 N/C、非方形/非立方形、无 batch 输入,输出与 CPU 参考逐元素完全一致。 - git diff --check 通过;中英文表格和代码块结构检查通过;变更仅 6 个 Markdown 文件,调用示例一致。 上述真机测试使用已安装 CANN 的真实 API/kernel,用于验证文档描述的受支持能力。本 PR 不增加运行时代码或参数报错,也不把越界输入声明为受支持输入。 ## 文档更新 更新 GatherV3、MaxUnpool2dBackward、MaxUnpool3dBackward 中英文 API 文档。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 - [x] AI辅助编写 See merge request: cann/ops-nn!13138 | 1 天前 | |
docs: 补全GatherV3类型及Gather/MaxUnpool反向索引值域说明 Co-authored-by: huang-jz<huangjunzhe2@h-partners.com> # message auto-generated for no-merge-commit merge: !13138 merge docs/issues-7029-7031-7177-7178 into master docs: 补全GatherV3类型及Gather/MaxUnpool反向索引值域说明 Created-by: huang-jz Commit-by: huang-jz Merged-by: cann-robot Description: ## 描述 GatherV3 中英文参数表漏写实现和公开头文件已支持的 COMPLEX128;GatherV3、MaxUnpool2dBackward 和 MaxUnpool3dBackward 文档也未明确索引数据值域是否由接口检查。 补全 COMPLEX128,并明确索引范围由调用者保证,接口不检查索引 tensor 的数据值域,负索引及越界值的行为未定义。MaxUnpool 的范围上界取 gradOutput 空间维乘积,即 outputSize 的元素乘积。按兼容性要求用文档 Warning 说明该约束。 ## 关联的Issue - #7029:https://gitcode.com/cann/ops-nn/issues/7029 - #7031:https://gitcode.com/cann/ops-nn/issues/7031 - #7177:https://gitcode.com/cann/ops-nn/issues/7177 - #7178:https://gitcode.com/cann/ops-nn/issues/7178 ## 测试 基线: 9e03a621626ab3fb659675141c3599781a6781b7;Ubuntu 22.04 aarch64、Ascend 910B2、CANN 9.3.0(20261021)。 - GatherV3 COMPLEX128 真机 18/18 通过:9 组 self shape × INT32/INT64 两类 index,包含首尾合法索引、重复索引、非整数实虚部,以及 [1000,128] / 1536 indices 的大规模路径,输出与 CPU 参考逐字节相同。 - MaxUnpool2d/3dBackward 真机 6/6 通过:两类接口各覆盖合法首尾索引、多 N/C、非方形/非立方形、无 batch 输入,输出与 CPU 参考逐元素完全一致。 - git diff --check 通过;中英文表格和代码块结构检查通过;变更仅 6 个 Markdown 文件,调用示例一致。 上述真机测试使用已安装 CANN 的真实 API/kernel,用于验证文档描述的受支持能力。本 PR 不增加运行时代码或参数报错,也不把越界输入声明为受支持输入。 ## 文档更新 更新 GatherV3、MaxUnpool2dBackward、MaxUnpool3dBackward 中英文 API 文档。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 - [x] AI辅助编写 See merge request: cann/ops-nn!13138 | 1 天前 | |
docs: 补全GatherV3类型及Gather/MaxUnpool反向索引值域说明 Co-authored-by: huang-jz<huangjunzhe2@h-partners.com> # message auto-generated for no-merge-commit merge: !13138 merge docs/issues-7029-7031-7177-7178 into master docs: 补全GatherV3类型及Gather/MaxUnpool反向索引值域说明 Created-by: huang-jz Commit-by: huang-jz Merged-by: cann-robot Description: ## 描述 GatherV3 中英文参数表漏写实现和公开头文件已支持的 COMPLEX128;GatherV3、MaxUnpool2dBackward 和 MaxUnpool3dBackward 文档也未明确索引数据值域是否由接口检查。 补全 COMPLEX128,并明确索引范围由调用者保证,接口不检查索引 tensor 的数据值域,负索引及越界值的行为未定义。MaxUnpool 的范围上界取 gradOutput 空间维乘积,即 outputSize 的元素乘积。按兼容性要求用文档 Warning 说明该约束。 ## 关联的Issue - #7029:https://gitcode.com/cann/ops-nn/issues/7029 - #7031:https://gitcode.com/cann/ops-nn/issues/7031 - #7177:https://gitcode.com/cann/ops-nn/issues/7177 - #7178:https://gitcode.com/cann/ops-nn/issues/7178 ## 测试 基线: 9e03a621626ab3fb659675141c3599781a6781b7;Ubuntu 22.04 aarch64、Ascend 910B2、CANN 9.3.0(20261021)。 - GatherV3 COMPLEX128 真机 18/18 通过:9 组 self shape × INT32/INT64 两类 index,包含首尾合法索引、重复索引、非整数实虚部,以及 [1000,128] / 1536 indices 的大规模路径,输出与 CPU 参考逐字节相同。 - MaxUnpool2d/3dBackward 真机 6/6 通过:两类接口各覆盖合法首尾索引、多 N/C、非方形/非立方形、无 batch 输入,输出与 CPU 参考逐元素完全一致。 - git diff --check 通过;中英文表格和代码块结构检查通过;变更仅 6 个 Markdown 文件,调用示例一致。 上述真机测试使用已安装 CANN 的真实 API/kernel,用于验证文档描述的受支持能力。本 PR 不增加运行时代码或参数报错,也不把越界输入声明为受支持输入。 ## 文档更新 更新 GatherV3、MaxUnpool2dBackward、MaxUnpool3dBackward 中英文 API 文档。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 - [x] AI辅助编写 See merge request: cann/ops-nn!13138 | 1 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 天前 | ||
| 1 天前 | ||
| 1 天前 | ||
| 1 天前 |