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

文档链接:https://gitcode.com/cann/ops-transformer/blob/master/attention/dense_lightning_indexer_grad_kl_loss/docs/aclnnDenseLightningIndexerGradKLLoss.md

问题片段:

  1. 文档:query或key或query_index或key_index或weight为空Tensor

存在的问题:

  1. 文档:入参为空的场景说明中参数名写成「query_index、key_index、weight」,与本算子函数原型及参数说明表中的「queryIndex、keyInd;建议修改为 query或key或queryIndex或keyIndex或weights为空Tensor

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

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

感谢反馈。按您提供的参数名称,空 Tensor 场景中的 query_index、key_index 和 weight 可以分别调整为 queryIndex、keyIndex 和 weights,以便与接口说明保持一致。

目前还需核对该文档的函数原型和参数表;同类文档的排查建议也已收到,我们会一并评估。

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 已完成