Closed
[Bug-Report|缺陷反馈]: [测试] dlqbmm/qbmmv4/wqbmmv2 算子 OpAPI UT 覆盖率不足,需补充测试用例 #4178
马琦钧Add on  Jul 20Closed at  Jul 20
马琦钧
马琦钧Collaborators
Jul 20 Create

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

当前 weight_quant_batch_matmul_v2、quant_batch_matmul_v4、dual_level_quant_batch_matmul 三个算子的 OpAPI 层级单元测试覆盖率较低,无法有效验证参数校验、数据类型支持、格式兼容性等关键路径。

Environment / 环境信息 (Mandatory / 必填)

Ascend950, Ascend910B, Ascend310P, cpu环境

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

bash build.sh --opapi -u --ops=quant_batch_matmul_v4,weight_quant_batch_matmul_v2,dual_level_quant_batch_matmul -j32 --cov

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

整体行覆盖率、函数覆盖率达到80%+

现有估算整体行覆盖率 76.9%,函数覆盖率 87.0%

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

likedislike
马琦钧马琦钧Collaborators
Jul 20 Added label: bug-report
马琦钧马琦钧Collaborators
Jul 20 Assign maqijun as responsible person
CANN-robotCANN-robotCollaborators
Jul 20 Close issue
CANN-robotCANN-robotCollaborators
Jul 20 Added label: resolved