Closed
[Documentation|文档反馈]: 源码注释和诊断文本中的英文拼写错误 #2908
SorryNaCNAdd on  Aug 7Closed at  Aug 13
SorryNaCN
SorryNaCN
Aug 7 Create

Document Link(文档链接)

Issues Section(问题文档片段)

仓库源码注释、错误信息和调试日志中仍存在多处明确的英文拼写错误,例如:

  • intput 应为 input:framework/tests/st/machine/src/ops/test_dynamic_mm.cpp
  • defalut 应为 default:framework/include/tilefwk/device_error_code.h:55
  • occured / unsupport 应为 occurred / unsupported:framework/src/codegen/npu/codegen_vector.cpp:623
  • interger 应为 integer:framework/src/interface/operation/operation_impl.cpp:1364 及对应测试期望值
  • Inital 应为 Initial:framework/src/machine/device/dynamic/context/device_task_context.cpp:128
  • lenght 应为 length:framework/src/passes/algorithms/osp/graph_algorithms/directed_graph_util.h:66
  • falied 应为 failed:framework/src/passes/block_graph_pass/tune_sync_for_vf.cpp
  • seperate 应为 separate:framework/src/passes/pass_utils/graph_utils.h:131 及 framework/src/passes/tensor_graph_pass/expand_function.cpp:130
  • invlid 应为 invalid:framework/src/passes/tile_graph_pass/graph_constraint/pre_graph/cube_process.cpp:248
  • funtion 应为 function:python/pypto/pil/pil2ir.py:98

Existing Issues(存在的问题)

本次按上述关键词检查了仓库 Issue,未发现针对这些具体拼写错误的重复 Issue。

Suggested Fix / 修正建议(修正建议)

统一修正上述拼写,并同步更新受影响的测试期望字符串。本次已先在工作区修正 test_dynamic_mm.cpp 中 4 处 intput 注释为 input。

likedislike
lyz0328lyz0328Collaborators
Aug 7 Associated pull request
gaoxingwanggaoxingwangCollaborators
Aug 8 Assign KaiqiJin as responsible person
gaoxingwanggaoxingwangCollaborators
Aug 8 Assign seu_chang as responsible person
gaoxingwanggaoxingwangCollaborators
Aug 8 Assign lululu40888 as responsible person
gaoxingwanggaoxingwangCollaborators
Aug 8 changed custom priority from 无优先级 to 主要
gaoxingwanggaoxingwangCollaborators
Aug 8 Added label: Passes
gaoxingwanggaoxingwangCollaborators
Aug 8 Added label: FrontendMachine
gaoxingwang
gaoxingwangCollaborators
Aug 8 Comments:

请各领域安排排查

likedislike
wangmingjunwangmingjunCollaborators
Aug 11 Associated pull request
wangmingjun
wangmingjunCollaborators
Aug 13 Comments:

已修复源码注释、错误信息和调试日志中多处英文拼写错误。关闭issue。

likedislike
wangmingjunwangmingjunCollaborators
Aug 13 changed custom state from 进行中 to 已解决
wangmingjunwangmingjunCollaborators
Aug 13 Close issue