Closed
[Documentation|文档反馈]: 修复原型头文件注释拼写错误与 axes 说明不一致 #3666
TangPCAdd on  19 days agoClosed at  19 days ago
TangPC
TangPCCollaborators
19 days ago Create

一、文档链接 (必填)

  • common/inc/op_graph/op_math_proto_extend.h
  • conversion/strided_slice_assign_v2/op_graph/strided_slice_assign_v2_proto.h

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

op_math_proto_extend.h

  • ExpandDims 的 dtype 属性说明中 specifed 拼写错误,应为 specified:
    if not specifed, we will use the data type of the input tensor.
  • QueueIsClosed 的 keepdim 属性说明中 intput 拼写错误,应为 input:
    If True, output dims equal intput dims.

strided_slice_assign_v2_proto.h

  • 多处 Supoort 拼写错误,应为 Support(var / input_value / begin / end / strides / axes 共 6 处)。
  • axes 输入说明误写为 Specifies the stride to select.,与输入语义不符,应为 Specifies the axes to select.。
  • 文件末尾缺少换行(pre-commit 修复)。

💡 存在的问题(选填)
原型头文件注释存在拼写错误,且 axes 输入说明与实际语义不一致,影响接口文档的可读性与准确性,可能误导算子使用方。

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

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