Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
Currently, the aclnn convolution interfaces accept bias parameters in formats that are not explicitly supported by the documentation (which specifies only the ND format). The lack of validation can lead to inconsistent behavior and potential runtime errors that are difficult to debug. This issue proposes adding validation checks to strictly enforce the ND format for the bias parameter, ensuring compliance with the documented specification.
Environment / 环境信息 (Mandatory / 必填)
NA
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
Call an aclnn interface (e.g., aclnnConvTbc).
Pass a bias tensor that is not in ND format (e.g., a incorrectly shaped or formatted tensor).
Observe that the operation may proceed without explicit error.
Describe the expected behavior / 预期结果 (Mandatory / 必填)
The documents clarify bias data type and format constraints
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
Currently, the aclnn convolution interfaces accept bias parameters in formats that are not explicitly supported by the documentation (which specifies only the ND format). The lack of validation can lead to inconsistent behavior and potential runtime errors that are difficult to debug. This issue proposes adding validation checks to strictly enforce the ND format for the bias parameter, ensuring compliance with the documented specification.
Environment / 环境信息 (Mandatory / 必填)
NA
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
Describe the expected behavior / 预期结果 (Mandatory / 必填)
The documents clarify bias data type and format constraints
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
NA
Special notes for this issue/备注 (Optional / 选填)