Pull Request has been successfully merged by CANN-robot.
(Thank you for Nice try's contribution.)变更摘要
本 PR 为文档修正,更新 aclnnMaskedSoftmaxWithRelPosBias 与 aclnnExpandIntoJaggedPermute 两个 aclnn 接口中输出参数 out 对非连续 Tensor 的支持说明,将原本标注为支持非连续 Tensor 的描述修正为仅支持连续 Tensor,中英文文档同步修改。
主要改动
out参数支持性表格修正: 在aclnnExpandIntoJaggedPermute.md与aclnnMaskedSoftmaxWithRelPosBias.md及对应英文文档的参数表中,out的 shape 说明补充"仅支持连续tensor",并将非连续支持列由√改为×。aclnnExpandIntoJaggedPermute约束条件补充: 在中文与英文文档的约束说明列表末尾新增一条,明确out不支持非连续 Tensor,仅支持连续 Tensor。aclnnMaskedSoftmaxWithRelPosBias非连续 Tensor 支持范围调整: 将原先"x、attenMaskOptional、relativePosBias、out均支持非连续 Tensor"拆分为两条,其中x、attenMaskOptional、relativePosBias仍由框架自动转为连续 Tensor 参与计算,out单独声明不支持非连续 Tensor。- 中英文文档一致性: 四个文档文件(
index/expand_into_jagged_permute与norm/masked_softmax_with_rel_pos_bias的中英文版本)均做同口径修改,保证接口对外说明的语义一致。
🧩 本次 Review 已使用自定义 Skill:




Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| */*/docs/acl*.md | ✅ 杨露, 汤平川 (2/2) | ✅ 杨露 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
Nice_try, thanks for your pull request. All authors of the commits have signed the CLA. 👍


compile


| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


/lgtm
/approve


您好,pr合入已准备就绪,请尽快联系committer进行检视,谢谢!
@yourealize @fengying555682 @kevin_huang1234 @wang-xing001 @su-yueming @yanglu-1 @lwx1255555 @gitcode-chenjiao @gitee-duhuiping


/lgtm
/approve


The following users do not have permission to comment /lgtm or /approve on any module in this PR:
/approve: 汤平川


描述
本次仅修改资料,将自动生成 ACLNN 接口中两处输出张量的“非连续Tensor”支持标记由 √ 改为 ×,并在约束说明中明确 out 仅支持连续Tensor:
背景:上述接口无 op_host/op_api 手写实现,由 op def 自动生成。自动生成路径仅对入参做连续化,普通输出通过 NnopbaseAddOutput 直接传入,kernel 按连续地址写入,文档中的支持标记与实现不一致。本次为短期文档收敛,不改变接口实现与入参非连续能力。
关联的Issue
关联 Issue #8684:https://gitcode.com/cann/ops-nn/issues/8684
关联 Issue #8683:https://gitcode.com/cann/ops-nn/issues/8683
测试
本 PR 仅涉及资料修改,未新增或执行代码测试。已在 Atlas A2(910B3)+ CANN 9.2.0 上用复现程序确认:两接口的非连续 out 当前按连续布局写入,与资料修正后的“仅支持连续Tensor”约束对应;非连续 out 的显式拒绝不在本 PR 范围。
文档更新
类型标签
AI/Agent生成声明