| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
cdist&cdist_grad 支持 bf16类型&修改资料中的错误 Co-authored-by: sakuraqqz<furao15@h-partners.com> # message auto-generated for no-merge-commit merge: !1680 merge master into master cdist&cdist_grad 支持 bf16类型&修改资料中的错误 Created-by: sakuraqqz Commit-by: sakuraqqz Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 1. cdist&cdist_grad 支持 bf16类型 2. 修改资料中的错误 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> https://gitcode.com/cann/ops-math/issues/1008 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!1680 | 6 个月前 | |
reduce all Co-authored-by: lu-yukun<luyukun4@h-partners.com> # message auto-generated for no-merge-commit merge: !888 merge reduce_final into master reduce all Created-by: lu-yukun Commit-by: lu-yukun Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!888 | 8 个月前 | |
Fix cdist error code and infer_shape check (#2967) Co-authored-by: gcw_LxlU8H9L<opengoodai@163.com> # message auto-generated for no-merge-commit merge: !5214 merge fix/cdist-2967-error-code-infer-shape into master Fix cdist error code and infer_shape check (#2967) Created-by: gcw_LxlU8H9L Commit-by: OpenGood_WeChat;gcw_LxlU8H9L Merged-by: cann-robot Description: ## Summary Fix two issues in the cdist operator found during the CANN ops scan (see #2967): 1. **Invalid dtype error code**: math/cdist/op_api/cdist.cpp — when the operator encounters an unsupported dtype, it silently returns nullptr instead of reporting an error. Changed to return ACLNN_ERR_PARAM_INVALID with a proper error log. 2. **INFER_SHAPE return value not checked**: the return value of INFER_SHAPE in the RegBase path was ignored, which can mask shape-inference failures. Added a check and OP_LOGE logging on failure. Also applied to math/cdist_grad/op_api/cdist_grad.cpp (same patterns). ## Changes | File | Change | |---|---| | math/cdist/op_api/cdist.cpp | +13 / -3 | | math/cdist_grad/op_api/cdist_grad.cpp | +1 / -1 | ## Testing - Local verification on CANN 9.1.0 (aarch64): all three modified files compile clean against the real toolkit headers; the full op_api UT target links successfully. - Ran the full l2_cdist_test* suite (37 cases) with the fix and against the baseline commit 76c8d878: **all 37 tests PASS in both** — zero regression, no segfault, no new failure introduced by this change. - UT stub semantics unchanged; assertion lines untouched. Closes #2967 See merge request: cann/ops-math!5214 | 25 天前 | |
reduce all Co-authored-by: lu-yukun<luyukun4@h-partners.com> # message auto-generated for no-merge-commit merge: !888 merge reduce_final into master reduce all Created-by: lu-yukun Commit-by: lu-yukun Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!888 | 8 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 个月前 | ||
| 8 个月前 | ||
| 25 天前 | ||
| 8 个月前 |