| fix: FeedsRepeat 修复功能、精度与资料问题 Co-authored-by: xuxiao59<xuxiao59@huawei.com> # message auto-generated for no-merge-commit merge: !6754 merge fix/feeds_repeat into master fix: FeedsRepeat 修复功能、精度与资料问题 Created-by: gcw_xYUkRrAH Commit-by: xuxiao59 Merged-by: cann-robot Description: ## 描述 修复 FeedsRepeat 算子经全量验证(Ascend950PR,静态检查 + 用例生成 + 上板执行)发现的功能、精度与资料问题,共 13 个文件、5 类缺陷根因: **Kernel 侧(op_kernel/feeds_repeat.h)** - 为 Sum/InitOutput 的 PopStackBuffer 预留 UB 栈空间(8KB),防止 TPipe 占满 UB 后 PopStackBuffer 断言失败(设备表现为 VEC_ERROR / NO_OUTPUT / 静默错误数值) - 负 feeds_repeat_times 钳 0、Repeat 循环按剩余输出截断(write_times = min(repeat_times, row_remain)),消除 sum(repeats) > output_feeds_size 时的块内越界写 - ClearOutputSpace 清零起点 end_index 钳制到 [0, empty_size],消除负数经 uint32 回绕导致的块外越界写 - 循环计数器 int 转 int64_t,防大 shape 溢出 **Tiling 侧(op_host/feeds_repeat_tiling.cpp)** - feeds 秩校验前移至 GetDim(0) 之前(rank-0 不再越界读) - feeds_repeat_times 容量上限按平台 UB 动态计算(含 8KB 栈预留),A2/A3 约 92KB、950 约 120KB - 空 tensor(dim0<1 / batch_num<=0)明确拒绝 - feeds_repeat_times 逐维溢出保护(累乘前检查 INT64_MAX) - output_feeds_size 负值拒绝 **InferShape 侧(op_host/feeds_repeat_infershape.cpp)** - 必选属性 output_feeds_size 判空与取值域校验前移至未知 Rank 早退之前 - 逐维判定 feeds_repeat_times 元素总数未知性(含偶数个 -1 维时 GetShapeSize 返回正积的边界),未知时跳过计数校验、由执行阶段 tiling 完成 **Proto(op_graph/feeds_repeat_proto.h)** - feeds/y dtype 从 TensorType::BasicType() 收紧为 {FP16, FP32, BF16}(与 def.cpp/InferDataType 同口径) **样例(examples/test_geir_feeds_repeat.cpp)** - 修复宏内 "placeholder" + int 指针偏移 bug(实际生成 "laceholder1" 而非 "placeholder1") - 输入缓冲 new[] 后补 delete[](Tensor 构造拷贝数据后即释放) - 输出按 dtype 打印而非逐字节 uint8 - 提前返回路径补 GEFinalize() - WriteDataToFile 增加fwrite 结果检查 **测试资产** - golden.py 入仓 tests/assets/(双键注册 feeds_repeat/FeedsRepeat、截断语义、mix_tolerance、多维展平、设备跟随) - UT 扩容:tiling 15 例(含秩 0/溢出/UB 贴界拒绝)、infershape 8 例(含 [-2] 传播/负属性/动态维)、kernel 若干 - gen_data.py 重写(原版 import tensorflow 且 argv 传参有误无法运行);删除不可运行的 gen_tiling.py **README** - UB 容量口径由固定 48KB/64KB 改为按平台动态推导(A2/A3 约 92KB、950 约 120KB) - 动态 shape 与 -1/-2 语义、output_feeds_size 取值域、空 tensor 约束声明 - feeds_repeat_times 元素总数定义与秩不限说明 ## 关联的Issue - https://gitcode.com/wangyueting/changwei_liuyi/issues/119 (GOLDEN_FAILURE:golden 语义不一致) - https://gitcode.com/wangyueting/changwei_liuyi/issues/121 (EE9999:UB 占满致设备崩溃) - https://gitcode.com/wangyueting/changwei_liuyi/issues/122 (E90003:容量门误拒合法输入 + 空 tensor 未声明) - https://gitcode.com/wangyueting/changwei_liuyi/issues/176 (ClearOutputSpace 清零长度负数 uint32 回绕越界写) - https://gitcode.com/wangyueting/changwei_liuyi/issues/177 (Repeat 循环未按剩余输出截断覆写) ## 测试 - Host UT:23/23 PASSED(tiling 15 + infershape 8,含新增秩 0/溢出/UB 贴界/[-2]/负属性/动态维守卫用例) - Kernel 路由:全量 571 例 + 34 条原失败复测全 PASS(三模式 dyn/cst/bin 100% 精度) - GEIR 路由:全量四模式(source/binary × const/dynamic)各 58 例全 PASS - 确定性路由:56 例 × 10 次重复全部 deterministic PASS - 异常路由:21 条 L2 负例中 15 条受控拒绝(拒绝消息含具体参数值)、6 条契约未建立 - ST 自验证:56 条 L0 输入检查 + 1 条真机 smoke PASS(100.0%) - 构建验证:ascend950/ascend910b kernel + ophost 全部编译通过 - 静态检查:87 项检查 0 发现(含 canndev 兼容基线对比 PASS) ## 文档更新 - README.md:UB 容量口径、动态 shape 语义、output_feeds_size 取值域、空 tensor 约束 ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!6754 | 12 days ago |
| fix: FeedsRepeat 修复功能、精度与资料问题 Co-authored-by: xuxiao59<xuxiao59@huawei.com> # message auto-generated for no-merge-commit merge: !6754 merge fix/feeds_repeat into master fix: FeedsRepeat 修复功能、精度与资料问题 Created-by: gcw_xYUkRrAH Commit-by: xuxiao59 Merged-by: cann-robot Description: ## 描述 修复 FeedsRepeat 算子经全量验证(Ascend950PR,静态检查 + 用例生成 + 上板执行)发现的功能、精度与资料问题,共 13 个文件、5 类缺陷根因: **Kernel 侧(op_kernel/feeds_repeat.h)** - 为 Sum/InitOutput 的 PopStackBuffer 预留 UB 栈空间(8KB),防止 TPipe 占满 UB 后 PopStackBuffer 断言失败(设备表现为 VEC_ERROR / NO_OUTPUT / 静默错误数值) - 负 feeds_repeat_times 钳 0、Repeat 循环按剩余输出截断(write_times = min(repeat_times, row_remain)),消除 sum(repeats) > output_feeds_size 时的块内越界写 - ClearOutputSpace 清零起点 end_index 钳制到 [0, empty_size],消除负数经 uint32 回绕导致的块外越界写 - 循环计数器 int 转 int64_t,防大 shape 溢出 **Tiling 侧(op_host/feeds_repeat_tiling.cpp)** - feeds 秩校验前移至 GetDim(0) 之前(rank-0 不再越界读) - feeds_repeat_times 容量上限按平台 UB 动态计算(含 8KB 栈预留),A2/A3 约 92KB、950 约 120KB - 空 tensor(dim0<1 / batch_num<=0)明确拒绝 - feeds_repeat_times 逐维溢出保护(累乘前检查 INT64_MAX) - output_feeds_size 负值拒绝 **InferShape 侧(op_host/feeds_repeat_infershape.cpp)** - 必选属性 output_feeds_size 判空与取值域校验前移至未知 Rank 早退之前 - 逐维判定 feeds_repeat_times 元素总数未知性(含偶数个 -1 维时 GetShapeSize 返回正积的边界),未知时跳过计数校验、由执行阶段 tiling 完成 **Proto(op_graph/feeds_repeat_proto.h)** - feeds/y dtype 从 TensorType::BasicType() 收紧为 {FP16, FP32, BF16}(与 def.cpp/InferDataType 同口径) **样例(examples/test_geir_feeds_repeat.cpp)** - 修复宏内 "placeholder" + int 指针偏移 bug(实际生成 "laceholder1" 而非 "placeholder1") - 输入缓冲 new[] 后补 delete[](Tensor 构造拷贝数据后即释放) - 输出按 dtype 打印而非逐字节 uint8 - 提前返回路径补 GEFinalize() - WriteDataToFile 增加fwrite 结果检查 **测试资产** - golden.py 入仓 tests/assets/(双键注册 feeds_repeat/FeedsRepeat、截断语义、mix_tolerance、多维展平、设备跟随) - UT 扩容:tiling 15 例(含秩 0/溢出/UB 贴界拒绝)、infershape 8 例(含 [-2] 传播/负属性/动态维)、kernel 若干 - gen_data.py 重写(原版 import tensorflow 且 argv 传参有误无法运行);删除不可运行的 gen_tiling.py **README** - UB 容量口径由固定 48KB/64KB 改为按平台动态推导(A2/A3 约 92KB、950 约 120KB) - 动态 shape 与 -1/-2 语义、output_feeds_size 取值域、空 tensor 约束声明 - feeds_repeat_times 元素总数定义与秩不限说明 ## 关联的Issue - https://gitcode.com/wangyueting/changwei_liuyi/issues/119 (GOLDEN_FAILURE:golden 语义不一致) - https://gitcode.com/wangyueting/changwei_liuyi/issues/121 (EE9999:UB 占满致设备崩溃) - https://gitcode.com/wangyueting/changwei_liuyi/issues/122 (E90003:容量门误拒合法输入 + 空 tensor 未声明) - https://gitcode.com/wangyueting/changwei_liuyi/issues/176 (ClearOutputSpace 清零长度负数 uint32 回绕越界写) - https://gitcode.com/wangyueting/changwei_liuyi/issues/177 (Repeat 循环未按剩余输出截断覆写) ## 测试 - Host UT:23/23 PASSED(tiling 15 + infershape 8,含新增秩 0/溢出/UB 贴界/[-2]/负属性/动态维守卫用例) - Kernel 路由:全量 571 例 + 34 条原失败复测全 PASS(三模式 dyn/cst/bin 100% 精度) - GEIR 路由:全量四模式(source/binary × const/dynamic)各 58 例全 PASS - 确定性路由:56 例 × 10 次重复全部 deterministic PASS - 异常路由:21 条 L2 负例中 15 条受控拒绝(拒绝消息含具体参数值)、6 条契约未建立 - ST 自验证:56 条 L0 输入检查 + 1 条真机 smoke PASS(100.0%) - 构建验证:ascend950/ascend910b kernel + ophost 全部编译通过 - 静态检查:87 项检查 0 发现(含 canndev 兼容基线对比 PASS) ## 文档更新 - README.md:UB 容量口径、动态 shape 语义、output_feeds_size 取值域、空 tensor 约束 ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!6754 | 12 days ago |
| fix: FeedsRepeat 修复功能、精度与资料问题 Co-authored-by: xuxiao59<xuxiao59@huawei.com> # message auto-generated for no-merge-commit merge: !6754 merge fix/feeds_repeat into master fix: FeedsRepeat 修复功能、精度与资料问题 Created-by: gcw_xYUkRrAH Commit-by: xuxiao59 Merged-by: cann-robot Description: ## 描述 修复 FeedsRepeat 算子经全量验证(Ascend950PR,静态检查 + 用例生成 + 上板执行)发现的功能、精度与资料问题,共 13 个文件、5 类缺陷根因: **Kernel 侧(op_kernel/feeds_repeat.h)** - 为 Sum/InitOutput 的 PopStackBuffer 预留 UB 栈空间(8KB),防止 TPipe 占满 UB 后 PopStackBuffer 断言失败(设备表现为 VEC_ERROR / NO_OUTPUT / 静默错误数值) - 负 feeds_repeat_times 钳 0、Repeat 循环按剩余输出截断(write_times = min(repeat_times, row_remain)),消除 sum(repeats) > output_feeds_size 时的块内越界写 - ClearOutputSpace 清零起点 end_index 钳制到 [0, empty_size],消除负数经 uint32 回绕导致的块外越界写 - 循环计数器 int 转 int64_t,防大 shape 溢出 **Tiling 侧(op_host/feeds_repeat_tiling.cpp)** - feeds 秩校验前移至 GetDim(0) 之前(rank-0 不再越界读) - feeds_repeat_times 容量上限按平台 UB 动态计算(含 8KB 栈预留),A2/A3 约 92KB、950 约 120KB - 空 tensor(dim0<1 / batch_num<=0)明确拒绝 - feeds_repeat_times 逐维溢出保护(累乘前检查 INT64_MAX) - output_feeds_size 负值拒绝 **InferShape 侧(op_host/feeds_repeat_infershape.cpp)** - 必选属性 output_feeds_size 判空与取值域校验前移至未知 Rank 早退之前 - 逐维判定 feeds_repeat_times 元素总数未知性(含偶数个 -1 维时 GetShapeSize 返回正积的边界),未知时跳过计数校验、由执行阶段 tiling 完成 **Proto(op_graph/feeds_repeat_proto.h)** - feeds/y dtype 从 TensorType::BasicType() 收紧为 {FP16, FP32, BF16}(与 def.cpp/InferDataType 同口径) **样例(examples/test_geir_feeds_repeat.cpp)** - 修复宏内 "placeholder" + int 指针偏移 bug(实际生成 "laceholder1" 而非 "placeholder1") - 输入缓冲 new[] 后补 delete[](Tensor 构造拷贝数据后即释放) - 输出按 dtype 打印而非逐字节 uint8 - 提前返回路径补 GEFinalize() - WriteDataToFile 增加fwrite 结果检查 **测试资产** - golden.py 入仓 tests/assets/(双键注册 feeds_repeat/FeedsRepeat、截断语义、mix_tolerance、多维展平、设备跟随) - UT 扩容:tiling 15 例(含秩 0/溢出/UB 贴界拒绝)、infershape 8 例(含 [-2] 传播/负属性/动态维)、kernel 若干 - gen_data.py 重写(原版 import tensorflow 且 argv 传参有误无法运行);删除不可运行的 gen_tiling.py **README** - UB 容量口径由固定 48KB/64KB 改为按平台动态推导(A2/A3 约 92KB、950 约 120KB) - 动态 shape 与 -1/-2 语义、output_feeds_size 取值域、空 tensor 约束声明 - feeds_repeat_times 元素总数定义与秩不限说明 ## 关联的Issue - https://gitcode.com/wangyueting/changwei_liuyi/issues/119 (GOLDEN_FAILURE:golden 语义不一致) - https://gitcode.com/wangyueting/changwei_liuyi/issues/121 (EE9999:UB 占满致设备崩溃) - https://gitcode.com/wangyueting/changwei_liuyi/issues/122 (E90003:容量门误拒合法输入 + 空 tensor 未声明) - https://gitcode.com/wangyueting/changwei_liuyi/issues/176 (ClearOutputSpace 清零长度负数 uint32 回绕越界写) - https://gitcode.com/wangyueting/changwei_liuyi/issues/177 (Repeat 循环未按剩余输出截断覆写) ## 测试 - Host UT:23/23 PASSED(tiling 15 + infershape 8,含新增秩 0/溢出/UB 贴界/[-2]/负属性/动态维守卫用例) - Kernel 路由:全量 571 例 + 34 条原失败复测全 PASS(三模式 dyn/cst/bin 100% 精度) - GEIR 路由:全量四模式(source/binary × const/dynamic)各 58 例全 PASS - 确定性路由:56 例 × 10 次重复全部 deterministic PASS - 异常路由:21 条 L2 负例中 15 条受控拒绝(拒绝消息含具体参数值)、6 条契约未建立 - ST 自验证:56 条 L0 输入检查 + 1 条真机 smoke PASS(100.0%) - 构建验证:ascend950/ascend910b kernel + ophost 全部编译通过 - 静态检查:87 项检查 0 发现(含 canndev 兼容基线对比 PASS) ## 文档更新 - README.md:UB 容量口径、动态 shape 语义、output_feeds_size 取值域、空 tensor 约束 ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!6754 | 12 days ago |
| fix: FeedsRepeat 修复功能、精度与资料问题 Co-authored-by: xuxiao59<xuxiao59@huawei.com> # message auto-generated for no-merge-commit merge: !6754 merge fix/feeds_repeat into master fix: FeedsRepeat 修复功能、精度与资料问题 Created-by: gcw_xYUkRrAH Commit-by: xuxiao59 Merged-by: cann-robot Description: ## 描述 修复 FeedsRepeat 算子经全量验证(Ascend950PR,静态检查 + 用例生成 + 上板执行)发现的功能、精度与资料问题,共 13 个文件、5 类缺陷根因: **Kernel 侧(op_kernel/feeds_repeat.h)** - 为 Sum/InitOutput 的 PopStackBuffer 预留 UB 栈空间(8KB),防止 TPipe 占满 UB 后 PopStackBuffer 断言失败(设备表现为 VEC_ERROR / NO_OUTPUT / 静默错误数值) - 负 feeds_repeat_times 钳 0、Repeat 循环按剩余输出截断(write_times = min(repeat_times, row_remain)),消除 sum(repeats) > output_feeds_size 时的块内越界写 - ClearOutputSpace 清零起点 end_index 钳制到 [0, empty_size],消除负数经 uint32 回绕导致的块外越界写 - 循环计数器 int 转 int64_t,防大 shape 溢出 **Tiling 侧(op_host/feeds_repeat_tiling.cpp)** - feeds 秩校验前移至 GetDim(0) 之前(rank-0 不再越界读) - feeds_repeat_times 容量上限按平台 UB 动态计算(含 8KB 栈预留),A2/A3 约 92KB、950 约 120KB - 空 tensor(dim0<1 / batch_num<=0)明确拒绝 - feeds_repeat_times 逐维溢出保护(累乘前检查 INT64_MAX) - output_feeds_size 负值拒绝 **InferShape 侧(op_host/feeds_repeat_infershape.cpp)** - 必选属性 output_feeds_size 判空与取值域校验前移至未知 Rank 早退之前 - 逐维判定 feeds_repeat_times 元素总数未知性(含偶数个 -1 维时 GetShapeSize 返回正积的边界),未知时跳过计数校验、由执行阶段 tiling 完成 **Proto(op_graph/feeds_repeat_proto.h)** - feeds/y dtype 从 TensorType::BasicType() 收紧为 {FP16, FP32, BF16}(与 def.cpp/InferDataType 同口径) **样例(examples/test_geir_feeds_repeat.cpp)** - 修复宏内 "placeholder" + int 指针偏移 bug(实际生成 "laceholder1" 而非 "placeholder1") - 输入缓冲 new[] 后补 delete[](Tensor 构造拷贝数据后即释放) - 输出按 dtype 打印而非逐字节 uint8 - 提前返回路径补 GEFinalize() - WriteDataToFile 增加fwrite 结果检查 **测试资产** - golden.py 入仓 tests/assets/(双键注册 feeds_repeat/FeedsRepeat、截断语义、mix_tolerance、多维展平、设备跟随) - UT 扩容:tiling 15 例(含秩 0/溢出/UB 贴界拒绝)、infershape 8 例(含 [-2] 传播/负属性/动态维)、kernel 若干 - gen_data.py 重写(原版 import tensorflow 且 argv 传参有误无法运行);删除不可运行的 gen_tiling.py **README** - UB 容量口径由固定 48KB/64KB 改为按平台动态推导(A2/A3 约 92KB、950 约 120KB) - 动态 shape 与 -1/-2 语义、output_feeds_size 取值域、空 tensor 约束声明 - feeds_repeat_times 元素总数定义与秩不限说明 ## 关联的Issue - https://gitcode.com/wangyueting/changwei_liuyi/issues/119 (GOLDEN_FAILURE:golden 语义不一致) - https://gitcode.com/wangyueting/changwei_liuyi/issues/121 (EE9999:UB 占满致设备崩溃) - https://gitcode.com/wangyueting/changwei_liuyi/issues/122 (E90003:容量门误拒合法输入 + 空 tensor 未声明) - https://gitcode.com/wangyueting/changwei_liuyi/issues/176 (ClearOutputSpace 清零长度负数 uint32 回绕越界写) - https://gitcode.com/wangyueting/changwei_liuyi/issues/177 (Repeat 循环未按剩余输出截断覆写) ## 测试 - Host UT:23/23 PASSED(tiling 15 + infershape 8,含新增秩 0/溢出/UB 贴界/[-2]/负属性/动态维守卫用例) - Kernel 路由:全量 571 例 + 34 条原失败复测全 PASS(三模式 dyn/cst/bin 100% 精度) - GEIR 路由:全量四模式(source/binary × const/dynamic)各 58 例全 PASS - 确定性路由:56 例 × 10 次重复全部 deterministic PASS - 异常路由:21 条 L2 负例中 15 条受控拒绝(拒绝消息含具体参数值)、6 条契约未建立 - ST 自验证:56 条 L0 输入检查 + 1 条真机 smoke PASS(100.0%) - 构建验证:ascend950/ascend910b kernel + ophost 全部编译通过 - 静态检查:87 项检查 0 发现(含 canndev 兼容基线对比 PASS) ## 文档更新 - README.md:UB 容量口径、动态 shape 语义、output_feeds_size 取值域、空 tensor 约束 ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!6754 | 12 days ago |
| fix(FeedsRepeat): golden third_party repeats 跟随 feeds 设备 Co-authored-by: xuxiao59<xuxiao59@huawei.com> # message auto-generated for no-merge-commit merge: !7071 merge fix/feeds_repeat into master fix(FeedsRepeat): golden third_party repeats 跟随 feeds 设备 Created-by: gcw_xYUkRrAH Commit-by: xuxiao59 Merged-by: cann-robot Description: ## 描述 FeedsRepeat golden 的 third_party 三方标杆在 xpu/CUDA 端点执行时设备不匹配报错,本 PR 修复其张量设备跟随问题。 **问题现象**:CI 回归 xpu 通路(--xpu-perf)对 FeedsRepeat 用例比对失败,服务端 500: RuntimeError: Expected all tensors to be on the same device, but got index is on cpu, different from other tensors on cuda:0 (when checking argument in method wrapper_CUDA_index_select) **根因**:_TorchFeedsRepeat.__call__ 中 repeats = torch.tensor(repeat_list, dtype=torch.int64) 未带 device(建在 CPU),而 xpu 端点上 feeds 在 cuda:0——torch.repeat_interleave 内部走 index_select 时设备不匹配。同函数的输出张量(torch.zeros(..., device=feeds.device)、repeated[:n].to(feeds.device))均有设备处理,唯独 repeats 漏了。 **修复**(conversion/feeds_repeat/tests/assets/golden.py,4 行): - repeats 加 device=feeds.device(问题本体); - _compute 输出 zeros 同步跟随 feeds_t.device(同类隐患防御,消除隐式跨设备赋值)。 与 operator-artifacts 仓 PR(opencann/operator-artifacts#321)的 FeedsRepeat golden 修复为同内容同步,两仓修复合入后 golden bit-exact 一致。 ## 关联的Issue - https://gitcode.com/wangyueting/changwei_liuyi/issues/119(xpu 通路比对失败原始问题单) ## 测试 - NPU 设备路径等价模拟 CUDA 端点(设备一致性语义同构):修复前复现同款 RuntimeError,修复后 5 场景全部通过(混合设备/全设备/third_party/主 golden/深度截断场景),输出与 CPU 基准逐位一致; - CPU 路径回归无变化:device 参数对 CPU 无副作用,截断/负值钳 0/填满语义不变(golden 数值语义零触碰)。 ## 文档更新 无(仅测试资产 golden.py,不涉及 README/文档变更)。 ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!7071 | 7 days ago |
| 增加A2 A3新算子支持 Co-authored-by: slx2008<shaolixin@huawei.com> # message auto-generated for no-merge-commit merge: !448 merge master into master 增加A2 A3新算子支持 Created-by: songkai111 Commit-by: slx2008 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!448 | 10 months ago |
| 文档里产品名统一化+规范化修改 Co-authored-by: gitcode-chenjiao<chenjiao31@huawei.com> # message auto-generated for no-merge-commit merge: !7136 merge master into master 文档里产品名统一化+规范化修改 Created-by: gitcode-chenjiao Commit-by: gitcode-chenjiao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 文档里产品名统一化+规范化修改 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> *.md ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!7136 | 6 days ago |
| docs: add English translations for markdown files Co-authored-by: jenny_xiang<jenny.xiang@huawei.com> # message auto-generated for no-merge-commit merge: !7113 merge docs/add-english-translations into master docs: add English translations for markdown files Created-by: jenny_xiang Commit-by: jenny_xiang Merged-by: cann-robot Description: ## 描述 新增仓库Markdown文档英文译稿(第二批,共409个文件):第一批(已合入)之外的其余全部译稿,覆盖conversion、examples、ge、math、random各类算子README译稿,以及CHANGELOG_en.md、.gitcode PR模板英文版等。 本批内全部仓内链接均指向master已有文件(含第一批已合入的21+2篇译稿),合入后本仓432篇英文文档全部就位,链接完整生效。 本批同时包含4篇基于最新源文档的增量更新(math/ada_cast、math/prod_force_se_a、math/sinkhorn、math/xlogy,对应上游近期文档变更)。 ## 关联的Issue 无 ## 测试 文档类变更,无需算子测试;已通过链接有效性校验(本批全部相对链接仅指向master已有文件,无指向本PR外未提交文件的链接),并完成逐篇翻译规范自查与语义校对(含支持状态表、限定词、术语、数值符号核对)。 ## 文档更新 新增409个英文译稿文件(*_en.md / .en-US.md),不修改任何现有文件。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!7113 | 6 days ago |