Closed
[Documentation|文档反馈]: 修复 abs_proto.h 与 concat_d_graph_infer.cpp 文件头 \file 注释与实际文件名不一致 #3804
TangPCAdd on  19 days agoClosed at  19 days ago
TangPC
TangPCCollaborators
19 days ago Create

一、文档链接 (必填)

二、问题文档片段 (必填)

math/abs/op_graph/abs_proto.h 文件头注释:

/*!
 * \file cast_proto.h
 * \brief
 */

conversion/concat_d/op_graph/concat_d_graph_infer.cpp 文件头注释:

/*!
 * \file concat_graph_infer.h
 * \brief
 */

💡 存在的问题(选填)
两个文件的 \file 注释指向了其他文件的名称,与实际文件名不一致,会误导阅读与文档生成。此外 abs_proto.h 还存在 namespace ge 换行风格、DATATYPE(...) 换行位置与仓内 .clang-format 不一致,以及文件末尾缺少换行的问题。

修复方式:

  • abs_proto.h:cast_proto.h -> abs_proto.h,调整 namespace ge { 与 DATATYPE(...) 换行,补齐文件末尾换行
  • concat_d_graph_infer.cpp:concat_graph_infer.h -> concat_d_graph_infer.cpp

关联 PR:https://gitcode.com/cann/ops-math/pull/6496

likedislike
TangPCTangPCCollaborators
19 days ago Added label: documentation
TangPC
TangPCCollaborators
19 days ago Comments:
likedislike
CANN-robotCANN-robotCollaborators
19 days ago Assign pingchuantang as responsible person
CANN-robotCANN-robotCollaborators
19 days ago Close issue
CANN-robotCANN-robotCollaborators
19 days ago Added label: resolved