| Files | Last commit | Last update |
|---|---|---|
docs: 修复注释与文档不一致(concat、diag_v2、dynamic_stitch 等 文件注释) Co-authored-by: tangpingchuan<tangpingchuan@huawei.com> # message auto-generated for no-merge-commit merge: !6598 merge docs/comment-cleanup-20261022-03 into master docs: 修复注释与文档不一致(concat、diag_v2、dynamic_stitch 等 文件注释) Created-by: pingchuantang Commit-by: tangpingchuan Merged-by: cann-robot Description: ## 描述 修正以下文件的注释与实际代码不一致问题: - conversion/concat/tests/ut/op_host/test_concat_infershape.cpp:\file 注释由 test_concat_infershpe.cpp 修正为 test_concat_infershape.cpp。 - conversion/diag_v2/op_kernel/diag_v2_b32.h:#endif 尾注释由 DIAG_V2_B64_H 修正为实际保护宏 DIAG_V2_B32_H。 - conversion/dynamic_stitch/op_kernel/arch35/dynamic_stitch_scatter_simt.h:\file 注释由 dynamic_stitch_simt.h 修正为 dynamic_stitch_scatter_simt.h。 - conversion/fill/op_api/aclnn_fill_scalar.h:#endif 尾注释由 OP_API_INC_FILL_H_ 修正为实际保护宏 OP_API_ACLNN_FILL_SCALAR_H_。 - conversion/fill/op_api/aclnn_fill_tensor.h:#endif 尾注释由 OP_API_INC_LEVEL2_ACLNN_FILL_TENSOR_H_ 修正为实际保护宏 OP_API_ACLNN_FILL_TENSOR_H_。 此外,按仓库 pre-commit 要求,对被修改文件应用了文件末尾换行/空白/clang-format 修复(仅格式调整,不涉及业务逻辑、接口行为或配置默认值)。 ## 关联的Issue - https://gitcode.com/cann/ops-math/issues/3820 ## 测试 - [x] 本地完整 pre-commit(含 clang-format、EOF/空白、OAT)通过 - [x] git diff --check(CRLF-aware)通过 - [ ] 编译/UT 未运行:本次为注释与格式调整,无代码逻辑变化 ## 文档更新 无独立文档文件更新;本次修正源文件注释,并同步仓库要求的格式问题。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: ## 待确认项 无。 See merge request: cann/ops-math!6598 | 26 days ago | |
feat: 新增 DynamicStitch 算子实现 Co-authored-by: 王荀<wangxun21@huawei.com> # message auto-generated for no-merge-commit merge: !1633 merge dynamic_stitch_fix into master feat: 新增 DynamicStitch 算子实现 Created-by: wangxun21 Commit-by: wangxun21;王荀 Merged-by: cann-robot Description: ## 描述 本 PR 新增了 DynamicStitch 算子的完整实现,该算子与 TensorFlow 的 DynamicStitch 算子兼容。 DynamicStitch 算子用于将多个张量的数据交织到单个张量中,支持多种数据类型。 ### 改动原因 支持 TensorFlow 模型中 DynamicStitch 算子的迁移,丰富 ops-math 仓库的算子支持范围。 ### 改动方法 1. 新增算子原型定义(op_graph/dynamic_stitch_proto.h) 2. 新增 host 侧实现: - 算子属性配置(op_host/dynamic_stitch_def.cpp) - Tiling 配置(op_host/config/ascend950/) 3. 新增 kernel 侧实现: - 通用头文件(op_kernel/arch35/dynamic_stitch_common.h) - Indices 去重(op_kernel/arch35/dynamic_stitch_indices_deduplicate.h) - SIMD/SIMT 实现(op_kernel/arch35/) 4. 新增单元测试(tests/ut/) 5. 新增示例代码(examples/test_geir_dynamic_stitch.cpp) ## 关联的Issue - #998 ## 测试 - 已添加单元测试 test_dynamic_stitch_tiling.cpp - 已添加示例代码 test_geir_dynamic_stitch.cpp ## 文档更新 无 ## 类型标签 - [x] 新特性 See merge request: cann/ops-math!1633 | 7 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 26 days ago | ||
| 7 months ago |