| fix(examples): 修复 conversion 样例废弃 std::string 重载导致的链接失败 Co-authored-by: Dazhou_Cao<caodazhou@huawei.com> # message auto-generated for no-merge-commit merge: !7410 merge fix/ge-example-deprecated-string-api into master fix(examples): 修复 conversion 样例废弃 std::string 重载导致的链接失败 Created-by: Dazhou_Cao Commit-by: Dazhou_Cao Merged-by: cann-robot Description: ## 描述 CANN 9.3.0 中 ge::Operator::GetOutputDesc(const std::string&) 与 ge::aclgrphSaveModel(const std::string&, ...) 已标记 deprecated,且 graph 库以旧 C++ ABI(_GLIBCXX_USE_CXX11_ABI=0)导出;样例用默认新 ABI 编译时这两个 std::string 重载无法解析,链接阶段报 undefined reference。 改用推荐的非 std::string 接口: - GetOutputDesc("y") -> GetOutputDescByName("y") - aclgrphSaveModel(om_file, model) -> aclgrphSaveModel(om_file.c_str(), model) 涉及 identity_v2 / identity_n_v2 / prevent_gradient / snapshot / stop_gradient 五个 conversion 样例,共 8 处。 ## 测试 - 按 scripts/build_example.sh 的 compile_graph_example 参数对上述 5 个样例重新编译链接,均通过,无 undefined reference。 - GE local 算子在编译期被 GE 消除,不落到 NPU 执行,因此以编译链接/图构建验证为准。 ## 关联 Issue 不涉及 See merge request: cann/ops-math!7410 | 2 days ago |
| feat: 迁移5个conversion算子(identity/identity_n/snapshot/stop_gradient/prevent_gradient) Co-authored-by: Dazhou_Cao<caodazhou@huawei.com> # message auto-generated for no-merge-commit merge: !5245 merge feature/migrate-conversion-ops into master feat: 迁移5个conversion算子(identity/identity_n/snapshot/stop_gradient/prevent_gradient) Created-by: Dazhou_Cao Commit-by: Dazhou_Cao Merged-by: cann-robot Description: 迁移5个conversion算子,包含op_graph、op_host、tests、CMakeLists和README See merge request: cann/ops-math!5245 | 1 month ago |
| feat: 迁移5个conversion算子(identity/identity_n/snapshot/stop_gradient/prevent_gradient) Co-authored-by: Dazhou_Cao<caodazhou@huawei.com> # message auto-generated for no-merge-commit merge: !5245 merge feature/migrate-conversion-ops into master feat: 迁移5个conversion算子(identity/identity_n/snapshot/stop_gradient/prevent_gradient) Created-by: Dazhou_Cao Commit-by: Dazhou_Cao Merged-by: cann-robot Description: 迁移5个conversion算子,包含op_graph、op_host、tests、CMakeLists和README See merge request: cann/ops-math!5245 | 1 month ago |
| feat: 迁移5个conversion算子(identity/identity_n/snapshot/stop_gradient/prevent_gradient) Co-authored-by: Dazhou_Cao<caodazhou@huawei.com> # message auto-generated for no-merge-commit merge: !5245 merge feature/migrate-conversion-ops into master feat: 迁移5个conversion算子(identity/identity_n/snapshot/stop_gradient/prevent_gradient) Created-by: Dazhou_Cao Commit-by: Dazhou_Cao Merged-by: cann-robot Description: 迁移5个conversion算子,包含op_graph、op_host、tests、CMakeLists和README See merge request: cann/ops-math!5245 | 1 month ago |
| feat: 迁移5个conversion算子(identity/identity_n/snapshot/stop_gradient/prevent_gradient) Co-authored-by: Dazhou_Cao<caodazhou@huawei.com> # message auto-generated for no-merge-commit merge: !5245 merge feature/migrate-conversion-ops into master feat: 迁移5个conversion算子(identity/identity_n/snapshot/stop_gradient/prevent_gradient) Created-by: Dazhou_Cao Commit-by: Dazhou_Cao Merged-by: cann-robot Description: 迁移5个conversion算子,包含op_graph、op_host、tests、CMakeLists和README See merge request: cann/ops-math!5245 | 1 month ago |
| feat: 迁移5个conversion算子(identity/identity_n/snapshot/stop_gradient/prevent_gradient) Co-authored-by: Dazhou_Cao<caodazhou@huawei.com> # message auto-generated for no-merge-commit merge: !5245 merge feature/migrate-conversion-ops into master feat: 迁移5个conversion算子(identity/identity_n/snapshot/stop_gradient/prevent_gradient) Created-by: Dazhou_Cao Commit-by: Dazhou_Cao Merged-by: cann-robot Description: 迁移5个conversion算子,包含op_graph、op_host、tests、CMakeLists和README See merge request: cann/ops-math!5245 | 1 month 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 | 13 days ago |