Closed
[Documentation|文档反馈]: aclnnGroupedMatmulFinalizeRoutingV3.md 文档存在 2 处问题需修正 #7402
liujing987913Add on  18 days agoClosed at  17 days ago
liujing987913
liujing987913Collaborators
18 days ago Create

文档链接:https://gitcode.com/cann/ops-transformer/blob/master/gmm/grouped_matmul_finalize_routing/docs/aclnnGroupedMatmulFinalizeRoutingV3.md

问题片段:

  1. 文档:其第一维长度为shareInputLen。sharedInputOffset、shareInputLen以及两者之和均需小于等于out的第一维batch。
  2. 第645、955行:float shareInputWeight = 1.0;

存在的问题:

  1. 文档:技术标识符缺字母:变量名 shareInputLen 缺少字母 d,与同一句中出现的 sharedInputOptional、sharedInputOffset;建议修改为 其第一维长度为sharedInputLen。sharedInputOffset、sharedInputLen以及两者之和均需小于等于out的第一维batch。
  2. 第645、955行:技术标识符缺字母:示例代码中的变量 shareInputWeight 缺少字母 d,而接口原型与参数表中该入参名为 sharedInputWeight(floa;建议修改为 float sharedInputWeight = 1.0;

注:以上问题由自动化工具比对文档与规范发现,建议同类文档一并排查。

likedislike
liujing987913liujing987913Collaborators
18 days ago Added label: documentation
周云飞
周云飞Collaborators
18 days ago Comments:

感谢反馈!根据您提供的片段,文档中的命名可以进一步统一:

  • 将长度说明中的 shareInputLen 改为 sharedInputLen,并保留现有的取值约束。
  • 将两处示例中的 shareInputWeight 改为 sharedInputWeight,同时检查示例中对应的引用是否一致。

对于同类文档,也可以考虑检查类似的命名不一致问题。目标文档和示例的完整上下文还需进一步确认。

likedislike
周云飞周云飞Collaborators
17 days ago Assign zzzzzzyf_ as responsible person
周云飞
周云飞Collaborators
17 days ago Comments:

已核对 master,本文档问题已由 PR #15771 修复,关闭本 Issue。

likedislike
周云飞周云飞Collaborators
17 days ago Close issue
周云飞周云飞Collaborators
17 days ago changed custom state from 待办的 to 已完成