Pull Request has been successfully merged by CANN-robot.
(Thank you for LiuZonggu's contribution.)以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入
| Module List | Reviewers | Committers |
|---|---|---|
| conversion/trans_data | N/A | rxtfeng, zhangyuxiang0119, wangrui_, zhou-qilong, gubaocheng |


🔵 source code change are detected, tasks labels is removed in this pull request!


问题/功能描述
本次PR旨在修正aclnnTransConvolutionWeight算子的接口文档与示例代码中的错误,以提升其准确性和可用性。具体解决了两个问题:一是接口参数说明中executor和stream参数被错误地标记为“输出”,实际应为“输入”;二是示例代码中卷积操作的步长、填充等参数数组维度与实际要求不匹配。这些修正避免了用户在使用API时产生误解或引发程序错误。
修改方案描述
修改方案主要包含两部分。首先,在接口文档中,将executor和stream参数的属性从“输出”更正为“输入”,并补充说明了executor参数的具体来源。其次,在示例代码中,将卷积参数(如步长、填充)的数组从4维修正为2维,并同步调整了创建aclIntArray对象时传入的数组长度,确保参数传递与实际数据维度一致,从而修复了潜在的参数传递错误。所有修改均限于文档和示例代码,未涉及底层功能代码的变更。


compile


🔵 ops-math pipeline is running. Please wait a moment... (Link 1220)
🔵 Already succeed task list is: [Anti_Virus], will not be build again this time !


| Check Name | Build Result | Log Report | Package Link |
|---|---|---|---|
| CI_Ascend_Ops-Math_Compile | ✅ SUCCESS | #1220 | >>> |
| check-commit-message | ✅ SUCCESS | >>> | |
| download-business-code | ✅ SUCCESS | >>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>> | >>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>> | >>> |
| Check_pr | ✅ SUCCESS | >>> | |
| UT_Test | ✅ SUCCESS | >>> | |
| Smoke_Test_A900 | ✅ SUCCESS | >>> |


/lgtm


/approve


Review Guide
This Pull-Request Passes Review.
Committers who writed a comment of /approve are: zhou-qilong.
Reviewers who writed a comment of /lgtm are: zhangyuxiang0119, zhou-qilong.


描述
Correct typo in aclnn aclnnTransConvolutionWeight Markdown document.
关联的Issue
Related to #303
测试
文档更新
类型标签