未验证 提交 f4a42296 编写于 作者: X xiebaiyuan 提交者: GitHub

fix an calc bug in test-mobilenetgpu (#2162)

上级 7e9bb98a
......@@ -2246,8 +2246,8 @@ __kernel void conv_7x7Pt1x2(__private const int global_size_dim0,
}
#ifdef BATCH_NORM
half s = read_imageh(new_scale, sampler, (int2)(out_c, 0));
half b = read_imageh(new_biase, sampler, (int2)(out_c, 0));
half4 s = read_imageh(new_scale, sampler, (int2)(out_c, 0));
half4 b = read_imageh(new_biase, sampler, (int2)(out_c, 0));
output0 = output0 * s + b;
output1 = output1 * s + b;
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册