Closed
[Documentation|文档反馈]: aclnnNsaSelectedAttention.md 文档存在 1 处问题需修正 #7431
liujing987913Add on 18 days agoClosed at 17 days ago
18 days ago Added label: documentation
周云飞
18 days ago Comments:
18 days ago Comments:
感谢反馈。按您提供的片段,示例变量名 sparseMod 与接口参数名 sparseMode 不一致。为避免阅读时产生歧义,可以将示例中的声明改为 int64_t sparseMode = 2;,并同步修改调用处的变量名。
同类文档的命名一致性也可作为后续排查方向。


17 days ago Assign zzzzzzyf_ as responsible person
17 days ago Close issue
17 days ago changed custom state from 待办的 to 已完成
文档链接:https://gitcode.com/cann/ops-transformer/blob/master/attention/nsa_selected_attention/docs/aclnnNsaSelectedAttention.md
问题片段:
int64_t sparseMod = 2;存在的问题:
int64_t sparseMode,、约束说明第377行“sparse;建议修改为int64_t sparseMode = 2;(第663行同步改为 sparseMode)