Closed
[Documentation|文档反馈]: 修复 space_to_depth/histogram_v2 原型文件头 \file 注释与实际文件名不一致 #3803
TangPCAdd on  19 days agoClosed at  19 days ago
TangPC
TangPCCollaborators
19 days ago Create

一、文档链接 (必填)

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

conversion/space_to_depth/op_graph/space_to_depth_proto.h 文件头注释:

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

math/histogram_v2/op_graph/histogram_v2_proto.h 文件头注释:

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

💡 存在的问题(选填)
两个原型头文件的 \file 注释指向了其他算子(transpose / hans_encode)的文件名,与文件实际名称不一致,会误导阅读与文档生成。此外 histogram_v2_proto.h 存在 namespace ge 与 #endif 注释风格不统一(} // namespace ge、无结尾换行)的问题。

修复方式:

  • space_to_depth_proto.h:transpose_proto.h -> space_to_depth_proto.h
  • histogram_v2_proto.h:hans_encode_proto.h -> histogram_v2_proto.h,并统一注释风格与文件结尾换行

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

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