Pull Request has been successfully merged by CANN-robot.
(Thank you for wangmingjun's contribution.)变更摘要
本次 PR 集中修复了源码注释、诊断日志和错误消息中的多处英文拼写错误,涉及 11 个文件共 17 处修正。修正范围涵盖 C++ 头文件与源文件、Python 脚本以及测试文件,统一将诸如 defalut→default、falied→failed、seperate→separate、intput→input 等常见拼写错误更正为正确形式,避免开发者在阅读诊断输出和源码时产生误解。
主要改动
-
tune_sync_for_vf.cpp中falied→failed批量修正:将UpdatePipeVTime、UpdateSetPipeTime、UpdateWaitPipeTime、MoveBackPipeVOps四个函数中APASS_LOG_ERROR_F日志消息的falied统一更正为failed,确保错误日志的可读性。 -
seperate→separate统一修正:在graph_utils.h的注释以及expand_function.cpp的VerifyScopeInfo错误消息中,将 "CV seperate platform" 修正为 "CV separate platform",消除术语拼写不一致。 -
test_dynamic_mm.cpp中intput→input批量修正:将四个测试用例(mm_A_Bt_ND_fp16_BIAS、mm_A_Bt_NZ_fp16_BIAS、mm_A_B_NZ_fp32_BIAS、mm_A_Bt_NZ_int8_BIAS)前的注释// intput:统一修正为// input:。 -
其他诊断消息与注释的拼写修正:包括
device_error_code.h宏注释中defalut→default、codegen_vector.cpp日志中occured unsupport→occurred unsupported、operation_impl.cpp断言中interger→integer、device_task_context.cpp日志中Inital→Initial、directed_graph_util.h注释中lenght→length、cube_process.cpp日志中invlid→invalid,以及pil2ir.py注释中funtion→function。


/approve


/lgtm


fix(all): Fix spelling errors in source comments and diagnostic messages
修复源码注释、错误信息和调试日志中多处英文拼写错误,避免阅读诊断输出时产生误解。
Changes:
Related Issues: #2908