已关闭
[Bug-Report|缺陷反馈]: Lack of Bias Format Validation for aclnnConvDepthwise2d aclnnConvTbc aclnnQuantConvolution #2721
LiuZonggu创建于  5月16日关闭于  5月19日
LiuZonggu成员
5月16日 创建

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 / 必填)

  1. Call an aclnn interface (e.g., aclnnConvTbc).
  2. Pass a bias tensor that is not in ND format (e.g., a incorrectly shaped or formatted tensor).
  3. Observe that the operation may proceed without explicit error.

Describe the expected behavior / 预期结果 (Mandatory / 必填)

The documents clarify bias data type and format constraints

NA

Special notes for this issue/备注 (Optional / 选填)

likedislike
LLiuZonggu成员
5月16日 添加了label:bug-report
LLiuZonggu成员
5月16日 将 LiuZonggu 设为负责人
LLiuZonggu成员
5月19日 修改了issue 的描述
CANN-robotCANN-robot成员
5月19日 关闭了 issue
CANN-robotCANN-robot成员
5月19日 添加了label:resolved
LLiuZonggu成员
5月20日 issue状态由 进行中 改变为 已完成
CANN-robotCANN-robot成员
5月20日 添加了label:Accepted