Closed
[Documentation|文档反馈]: 修正 concat、diag_v2、dynamic_stitch、fill 等文件的注释与代码不一致问题 #3820
TangPCAdd on 18 days agoClosed at 17 days ago
18 days ago Added label: documentation
TangPC
18 days ago Comments:
18 days ago Comments:
/assign @pingchuantang


18 days ago Assign pingchuantang as responsible person
17 days ago Close issue
17 days ago Added label: resolved
一、文档链接 (必填)
本次修正对象为源码内注释(无独立文档页面),涉及以下文件:
conversion/concat/tests/ut/op_host/test_concat_infershape.cppconversion/diag_v2/op_kernel/diag_v2_b32.hconversion/dynamic_stitch/op_kernel/arch35/dynamic_stitch_scatter_simt.hconversion/fill/op_api/aclnn_fill_scalar.hconversion/fill/op_api/aclnn_fill_tensor.h二、问题文档片段 (必填)
conversion/concat/tests/ut/op_host/test_concat_infershape.cpp\file test_concat_infershpe.cpp\file test_concat_infershape.cppconversion/diag_v2/op_kernel/diag_v2_b32.h#endif // DIAG_V2_B64_H#endif // DIAG_V2_B32_Hconversion/dynamic_stitch/op_kernel/arch35/dynamic_stitch_scatter_simt.h\file dynamic_stitch_simt.h\file dynamic_stitch_scatter_simt.hconversion/fill/op_api/aclnn_fill_scalar.h#endif // OP_API_INC_FILL_H_#endif // OP_API_ACLNN_FILL_SCALAR_H_conversion/fill/op_api/aclnn_fill_tensor.h#endif // OP_API_INC_LEVEL2_ACLNN_FILL_TENSOR_H_(文件末尾无换行)#endif // OP_API_ACLNN_FILL_TENSOR_H_(补充文件末尾换行)💡 存在的问题(选填)
\file注释与实际文件名不一致,#endif尾注释与真实头文件保护宏不一致,容易误导阅读与后续维护。关联 PR:https://gitcode.com/cann/ops-math/pull/6598