Merged
Fix Docs: Correct Parameter Directions and Array Length in aclnnTransConvolutionWeight Example #464
Fix Docs: Correct Parameter Directions and Array Length in aclnnTransConvolutionWeight Example #464
Merged
LiuZongguAdd on Dec 23, 2025
LiuZonggu
LiuZonggu
Dec 23, 2025

描述

Correct typo in aclnn aclnnTransConvolutionWeight Markdown document.

关联的Issue

Related to #303

测试

文档更新

类型标签

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for LiuZonggu's contribution.)
CANN-robot
CANN-robotCollaborators
Dec 23, 2025 Comments:

Thank your for your pull-request.

The full list of commands accepted by me can be found at here.

You can get sig-info at here

likedislike
CANN-robot
CANN-robotCollaborators
Dec 23, 2025 Comments:

以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入

Module List Reviewers Committers
conversion/trans_data N/A rxtfeng, zhangyuxiang0119, wangrui_, zhou-qilong, gubaocheng
likedislike
CANN-robotCANN-robotCollaborators
Dec 23, 2025 Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
Dec 23, 2025 Comments:

CLA Signature Pass

Thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robot
CANN-robotCollaborators
Dec 23, 2025 Comments:

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

likedislike
CANN-robot
CANN-robotCollaborators
Dec 23, 2025 Comments:

问题/功能描述

本次PR旨在修正aclnnTransConvolutionWeight算子的接口文档与示例代码中的错误,以提升其准确性和可用性。具体解决了两个问题:一是接口参数说明中executor和stream参数被错误地标记为“输出”,实际应为“输入”;二是示例代码中卷积操作的步长、填充等参数数组维度与实际要求不匹配。这些修正避免了用户在使用API时产生误解或引发程序错误。

修改方案描述

修改方案主要包含两部分。首先,在接口文档中,将executor和stream参数的属性从“输出”更正为“输入”,并补充说明了executor参数的具体来源。其次,在示例代码中,将卷积参数(如步长、填充)的数组从4维修正为2维,并同步调整了创建aclIntArray对象时传入的数组长度,确保参数传递与实际数据维度一致,从而修复了潜在的参数传递错误。所有修改均限于文档和示例代码,未涉及底层功能代码的变更。

likedislike
LiuZongguLiuZonggu
Dec 23, 2025 Modify description of pull request
LiuZonggu
LiuZonggu
Dec 23, 2025 Comments:

compile

likedislike
CANN-robot
CANN-robotCollaborators
Dec 23, 2025 Comments:

🔵 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 !

likedislike
CANN-robotCANN-robotCollaborators
Dec 23, 2025 Added label: ci-pipeline-running
CANN-robot
CANN-robotCollaborators
Dec 23, 2025 Comments:
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 >>>
likedislike
CANN-robot
CANN-robotCollaborators
Dec 23, 2025 Comments:
Check Name Build Result Log Report Package Link
Anti Virus ✅ PASS >>> N/A
Codescan ✅ PASS >>> N/A
Code_Check ✅ PASS >>> N/A
likedislike
CANN-robotCANN-robotCollaborators
Dec 23, 2025 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Dec 23, 2025 Added label: ci-pipeline-passed
张喻翔
张喻翔
Dec 23, 2025 Comments:

/lgtm

likedislike
sunday
sundayCollaborators
Dec 23, 2025 Comments:

/approve

likedislike
CANN-robotCANN-robotCollaborators
Dec 23, 2025 Added label: lgtmapproved
CANN-robot
CANN-robotCollaborators
Dec 23, 2025 Comments:

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.

likedislike
CANN-robotCANN-robotCollaborators
Dec 23, 2025 Closed associated issue
CANN-robotCANN-robotCollaborators
Dec 23, 2025 Merged pull request