| Files | Last commit | Last update |
|---|---|---|
fix: 规范 random 目录算子日志输出(级别错配/拼写/语法/格式符/中文残留) Co-authored-by: liangtongxue<lianglihui@h-partners.com> # message auto-generated for no-merge-commit merge: !5347 merge fix/log-spec-20260903-v2 into master fix: 规范 random 目录算子日志输出(级别错配/拼写/语法/格式符/中文残留) Created-by: liangtongxue Commit-by: liangtongxue Merged-by: cann-robot Description: ## 描述 对 random/ 全目录 26 个算子(含 examples、tests)的日志输出做规范整改,修复以下缺陷: - **级别错配(36 处)**:12 个 geir examples 失败分支 - INFO - [XIR]: xxx failed 改为 - ERROR -,按级别过滤时故障信息不再被忽略 - **拼写错误**:samller→smaller、excepted→expected(语义相反)、RadixSortTIling→RadixSortTiling、Infershape→InferShape 等修正 - **语法错误(100+ 处)**:only support→only supports、not support→does not support、should same with→should be the same as、must >→must be greater than、is begin→begins、running begin→started、序数 1th 改写、字符串拼接双空格/逗号粘连等 - **错误描述不完整(40+ 处)**:dtype/shape/size/coreNum/ubSize 校验失败补当前实际值;allowed set 补允许集合内容;onnx dtype 支持列表文案与 kvlist 实现对齐 - **格式符与实参类型不匹配**:按头文件实类型逐项核对修正(%lld→%llu、%d→%ld、%u→%lu、%f→%ld 等),消除 -Werror 编译失败与输出垃圾值 - **魔鬼数字**:GE version 裸数字 90000000 统一为 9.0.0(6 处) - **中文输出**:ST executor/golden.py 中文文案改英文(10 处);Format 支持列表中文顿号改半角逗号 - **统一日志接口**:random_infershape_base.cpp 业务代码 std::cerr 改 OP_LOGD/OP_LOGW/OP_LOGE(4 处);删除 random_dtype_fmt_gen.h 中无调用点的调试打印函数 Print/PrintByColsCore - **UT 修复**:truncated_normal_v2 tiling 用例期望串补齐尾部 3 个字段(RandomUnifiedSimtTilingDataStruct 实为 51 个 int64 字段,期望串原为 48 个;master 上存量失败) ### 改动方法 仅修改日志语句的文案/级别/格式符与配套标识符拼写(如 isContinous_→isContinuous_ 等全量同步改名),不改动任何校验逻辑与控制流。 ## 关联的Issue #3083 ## 测试 - pre-commit 全部通过(clang-format / ruff-check / ruff-format / codespell / OAT 等 10 项) - bash build.sh --pkg --jit --soc=ascend950 编译打包通过(含 -Werror=format 严格校验) - random 目录全部改动算子 UT:153 个测试全部 PASSED(含修复后的 truncated_normal_v2) - 输出文案中文残留、业务代码私有打印残留均为 0 ## 文档更新 无 ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!5347 | 2 months ago | |
fix the error code of InplaceNormalTensor(std<0) and InplaceRandomTensor(selfRef nullptr) Co-authored-by: 吴帅<wushuai86@huawei.com> # message auto-generated for no-merge-commit merge: !4370 merge 0731 into master fix the error code of InplaceNormalTensor(std<0) and InplaceRandomTensor(selfRef nullptr) Created-by: wu-shuai2580 Commit-by: 吴帅 Merged-by: cann-robot Description: ## 描述 修复InplaceNormalTensor(std<0)、InplaceRandomTensor(selfRef nullptr)错误码与md不一致的问题 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 冒烟pass ## 文档更新 random/dsa_random_normal/docs/aclnnInplaceNormal.md random/dsa_random_normal/docs/aclnnInplaceNormalTensor.md random/dsa_random_uniform/docs/aclnnInplaceRandomTensor.md ## 类型标签 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!4370 | 3 months ago | |
update operators Co-authored-by: biabu111<hebaojing1@huawei.com> # message auto-generated for no-merge-commit merge: !916 merge master into master update operators Created-by: biabu111 Commit-by: biabu111 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 增强以下算子功能 tensor_equal tensor_move tril triu stalessrandomuniform stalessrandomnormal assign dsarandomuniform dsarandomnormal ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> #530 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!916 | 9 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 2 months ago | ||
| 3 months ago | ||
| 9 months ago |