我在仅修改了cv融合的matmul_leakyrelu官方源码的数据规模后,出现了结果与标杆不一致的情况,复现步骤如下:
1. 下载源码https://gitee.com/ascend/samples/tree/master/operator/ascendc/0_introduction/13_matmulleakyrelu_kernellaunch/MatmulLeakyReluInvocation
2. 修改matmul_leakyrelu_custom_tiling.cpp的数据规模设置:

3. 修改main.cpp的数据规模设置:

4. 修改scripts/gen_data.py的数据规模设置:

5. 执行bash run.sh -r npu -v Ascend910B3,发现结果与标杆不一致

完整代码已附在附件中
我在仅修改了cv融合的matmul_leakyrelu官方源码的数据规模后,出现了结果与标杆不一致的情况,复现步骤如下:
1. 下载源码https://gitee.com/ascend/samples/tree/master/operator/ascendc/0_introduction/13_matmulleakyrelu_kernellaunch/MatmulLeakyReluInvocation
2. 修改matmul_leakyrelu_custom_tiling.cpp的数据规模设置:
3. 修改main.cpp的数据规模设置:
4. 修改scripts/gen_data.py的数据规模设置:

5. 执行bash run.sh -r npu -v Ascend910B3,发现结果与标杆不一致
完整代码已附在附件中