| 【文档捉虫】代码规范问题和低级错误修复,修改 cann/ge 部分日志与注释拼写
Co-authored-by: zhengzcg315<729505530@qq.com>
# message auto-generated for no-merge-commit merge:
!2730 merge fix-logs-spelling into develop
【文档捉虫】代码规范问题和低级错误修复,修改 cann/ge 部分日志与注释拼写
Created-by: qq_4277658311111111111111173q
Commit-by: zhengzcg315
Merged-by: cann-robot
Description:
# Pull Request
## 描述
修改 cann/ge 部分日志与注释拼写
## 变更类型
请选择本次引入的变更类型:
<!-- [x] 表示选中 -->
- [x] 🐛 Bug 修复
- [ ] ✨ 新功能
- [ ] 💄 代码风格更新(格式化,局部变量)
- [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动)
- [ ] 📦 构建过程或辅助工具的变动
- [ ] 📝 文档内容更新
## 关联的Issue
<!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 -->
## 如何测试
描述测试此变更的步骤和前提条件:
1.
2.
## 核对清单
<!-- [x] 表示选中 -->
- [x] 我的代码遵循了项目的代码风格
- [ ] 我已对代码进行了自测
- [ ] 我已更新了相关的文档
- [x] 我在标题中使用了合适的类型标签(如:feat:, fix:)
- [ ] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等
## 其他信息
直接用 CSV 原始数据整理成表格。report.csv 共有 33 条修正建议,分布在 2 个文件:
### example\graph_manager.cc (24 条)
| 行号 | 拼写错误 | 日志摘要 |
| ---- | ----------------------------- | --------------------------------------------- |
| 2273 | attribues → **attributes** | Model attribues will save to. |
| 437 | contex → **context** | set threal local omg_contex to defaut |
| 437 | defaut → **default** | set threal local omg_contex to defaut |
| 2046 | excute → **execute** | // excute graph |
| 1653 | indicies → **indices** | const auto &frozen_indicies = ... |
| 3239 | ndoe → **node** | the node transdata1 ... front of the ndoe |
| 1570 | parition → **partition** | ... optimize, parition, build ... |
| 3742 | prerun → **pre-run** | Avoid repeatively prerun for graphs |
| 3744 | prerun → **pre-run** | Avoid repeatively prerun, graph_id |
| 3755 | prerun → **pre-run** | Cannot be put ahead of the repeatively prerun |
| 3804 | prerun → **pre-run** | GELOGI("[PreRunThread] Loop end.") |
| 1570 | prreprocess → **pre-process** | ... prreprocess, optimize, parition ... |
| 4905 | reature → **feature** | Refreshable reature memory base |
| 822 | repeatively → **repeatedly** | avoiding repeatively adding same graph |
| 3742 | repeatively → **repeatedly** | Avoid repeatively prerun |
| 3744 | repeatively → **repeatedly** | Avoid repeatively prerun |
| 3755 | repeatively → **repeatedly** | Cannot be put ahead of the repeatively prerun |
| 1593 | scence → **scene** | static scence & dynamic atc scene |
| 806 | secenario → **scenario** | multi-thread secenario |
| 3745 | senario → **scenario** | online inference concurrency senario |
| 1226 | stpe → **step** | Dump graph before build in stpe |
| 437 | threal → **thread** | set threal local omg_contex to defaut |
| 653 | Waitting → **Waiting** | Waitting for build end |
| 867 | waitting → **waiting** | threads waitting for adding same graph |
### example\graph_prepare.cc (9 条)
| 行号 | 拼写错误 | 日志摘要 |
| ---- | -------------------------- | ------------------------------------------ |
| 2575 | inferrence → **inference** | Trans CONSTANTOP to CONSTANT in inferrence |
| 1136 | lauch → **launch** | lauch fuzz compile mode |
| 1605 | moudle → **module** | tune moudle |
| 655 | stroage → **storage** | its stroage format |
| 671 | switchn → **SwitchN** | has switchn node flag |
| 673 | switchn → **SwitchN** | has switchn node flag |
| 688 | switchn → **SwitchN** | has switchn node %s |
| 690 | switchn → **SwitchN** | has switchn node %s |
See merge request: cann/ge!2730 | 22 天前 |