Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
主要围绕 fused_mat_mul 模块中 Relu 合批(将 x1 的 batch 轴合并到 M 轴)场景下的形状校验逻辑进行调整。核心是通过移除 CanReluMergeBatchAndMAxis 对输出张量 y(或输出形状 c)的依赖,并放宽 CheckShape 中 x1 与 y 维度必须相同的约束,使共享 x2 时经标准 MatMul 广播产生的、带前导 size‑1 batch 轴的 y 也能通过校验。
ascend950
对于y!=x1的rankshape会进行拦截
放开拦截功能精度通过
不涉及
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
主要围绕 fused_mat_mul 模块中 Relu 合批(将 x1 的 batch 轴合并到 M 轴)场景下的形状校验逻辑进行调整。核心是通过移除 CanReluMergeBatchAndMAxis 对输出张量 y(或输出形状 c)的依赖,并放宽 CheckShape 中 x1 与 y 维度必须相同的约束,使共享 x2 时经标准 MatMul 广播产生的、带前导 size‑1 batch 轴的 y 也能通过校验。
Environment Information / 环境信息 (Mandatory / 必填)
ascend950
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
对于y!=x1的rankshape会进行拦截
Describe the expected behavior / 预期结果 (Mandatory / 必填)
放开拦截功能精度通过
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
不涉及
Special notes for this issue/备注 (Optional / 选填)