Pull Request has been successfully merged by CANN-robot.
(Thank you for babeiee's contribution.)变更摘要
本 PR 回撤已合入的 #9177,恢复此前被删除的 vfusion/modulate_grad/README.md 文档(113 行),用于重新提供 ModulateGrad 算子的产品支持、功能与接口说明。属于纯文档恢复,代码逻辑与行为无变化。
主要改动
- 恢复算子文档文件: 重新新增
vfusion/modulate_grad/README.md,恢复ModulateGrad算子的完整说明文档。 - 恢复产品支持情况说明: 补充
ModulateGrad对 Ascend 950PR/950DT、Atlas A3 训练/推理系列、Atlas A2 训练/推理系列的支持标记,以及 200I/500 A2、Atlas 推理系列、Atlas 训练系列的不支持标记。 - 恢复功能与计算公式: 说明该算子完成 Modulate 反向传播中的参数计算与梯度更新,并给出
grad_x、grad_scale、grad_shift的计算公式及符号说明(含沿序列维度 L 的求和与scale广播)。 - 恢复参数说明表: 列出输入
grad_output、input、scale、shift与输出grad_input、grad_scale、grad_shift,均标注支持FLOAT、FLOAT16、BFLOAT16数据类型及ND数据格式。 - 恢复调用说明: 补充通过
test_aclnn_modulatebackward样例调用aclnnModulateBackward接口的方式,并链接至对应接口文档docs/aclnnModulateBackward.md。
🧩 本次 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 |
|---|---|---|
| */*/README.md | ✅ 陈娇, 唐玮玮, 王星 (3/2) | ✅ 陈娇 (1/1) |
| */*/docs/acl*.md | ✅ 陈娇, 唐玮玮, 王星 (3/2) | ✅ 陈娇 (1/1) |
| docs | ✅ 陈娇, 唐玮玮 (2/2) | ✅ 陈娇 (1/1) |
| vfusion | ✅ 王星, 唐玮玮 (2/2) | ✅ 王星 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
babeiee, thanks for your pull request. All authors of the commits have signed the CLA. 👍


The MR can not be merged, because of CodeReview discussion not resolved
If you want to solve this problem, you can click here to do it in the FAQs.


Pull Request 已合并或已关闭。
If you want to solve this problem, you can click here to do it in the FAQs.


描述
回撤已合入的 PR #9177,恢复被删除的
vfusion/modulate_grad/README.md文档,并在docs/zh/op_list.md中补登 modulate_grad 算子条目(统一在本 PR 中处理)。关联的Issue
https://gitcode.com/cann/ops-nn/issues/7103
回撤对象:https://gitcode.com/cann/ops-nn/pull/9177
测试
纯文档变更(恢复 README.md、登记 op_list.md),无代码逻辑变更,无需测试。
文档更新
vfusion/modulate_grad/README.md(113 行)。docs/zh/op_list.md新增 modulate_grad 登记:vfusion 分类,op_kernel/op_host/op_api 均为 ✓,无原型(op_graph ✗),仅支持 aclnn 调用,AI Core 执行。类型标签
AI/Agent生成声明