Closed
[Documentation|文档反馈]: 修正 fill_diagonal_v2、fill_v2、fills、identity_n 源文件注释与代码不一致 #3821
TangPCAdd on 19 days agoClosed at 18 days ago
19 days ago Added label: documentation
TangPC
19 days ago Comments:
19 days ago Comments:
/assign @pingchuantang


19 days ago Assign pingchuantang as responsible person
18 days ago Close issue
18 days ago Added label: resolved
一、文档链接 (必填)
二、问题文档片段 (必填)
conversion/fill_diagonal_v2/tests/ut/op_host/test_fill_diagonal_v2_infershape.cpp\file注释写的是test_fill_diagonal_v2_proto.cpp,与实际文件名test_fill_diagonal_v2_infershape.cpp不一致。conversion/fill_diagonal_v2/tests/ut/op_kernel/test_fill_diagonal_v2_tiling.h#endif尾注释写的是_FAST_OP_TEST_FILL_DIAGONAL_TILING_H_,实际保护宏为_FAST_OP_TEST_FILL_DIAGONAL_V2_TILING_H_。conversion/fill_v2/op_graph/fill_v2_proto.h#endif尾注释写的是OP_PROTO_FILL_V2_H_,实际保护宏为FILL_V2_PROTO_H_。conversion/fills/tests/ut/op_host/test_fills_infershape.cpp\file注释写的是test_fills_proto.cpp,与实际文件名test_fills_infershape.cpp不一致。conversion/identity_n/op_graph/identity_n_proto.h#endif尾注释写的是SHAPE_N_PROTO_H_,实际保护宏为IDENTITY_N_PROTO_H_。💡 存在的问题(选填)
源文件头注释与保护宏尾注释和实际代码不一致,容易误导阅读与检索。本 PR 统一修正上述注释,并补齐文件末尾换行、清理行尾空白、按仓库 pre-commit 要求执行 clang-format(仅格式调整,不涉及业务逻辑、接口行为或配置默认值)。
关联 PR:https://gitcode.com/cann/ops-math/pull/6599