已关闭
[Documentation|文档反馈]: aclnnMaskedSoftmaxWithRelPosBias 示例注释表述不准确 #6474
xuejinghui创建于  22 天前关闭于  21 天前
xuejinghui成员
22 天前 创建

[Documentation|文档反馈]: aclnnMaskedSoftmaxWithRelPosBias 示例注释表述不准确

Document Link(文档链接)

https://gitcode.com/cann/ops-nn/blob/master/norm/masked_softmax_with_rel_pos_bias/docs/aclnnMaskedSoftmaxWithRelPosBias.md

Issues Section(问题文档片段)

// 3. 调用CANN算子库API,需要修改为具体的Api名称

// 6. 释放aclTensor和aclScalar,需要根据具体API的接口定义修改

Existing Issues(存在的问题)

  1. 注释中的 Api 与文档其他位置使用的 API 大小写不一致,建议统一为 API。
  2. 示例代码仅创建并释放了 aclTensor,未创建或释放任何 aclScalar,注释中“释放aclTensor和aclScalar”的描述与实际代码不符。建议修改为:
// 6. 释放aclTensor,需要根据具体API的接口定义修改
likedislike
Xxuejinghui成员
22 天前 添加了label:documentation
Xxuejinghui成员
22 天前 修改标题为 “[Documentation|文档反馈]: aclnnMaskedSoftmaxWithRelPosBias 示例注释表述不准确”,原标题为“[Documentation|文档反馈]: 11”
Xxuejinghui成员
22 天前 修改了issue 的描述
xuejinghui成员
22 天前 评论:

/assign

likedislike
CANN-robotCANN-robot成员
22 天前 将 xuejinghui 设为负责人
CANN-robotCANN-robot成员
21 天前 关闭了 issue
CANN-robotCANN-robot成员
21 天前 添加了label:resolved