未验证 提交 1207be18 编写于 作者: H HappyAngel 提交者: GitHub

fix compute error. test=develop

上级 0e9dfda0
......@@ -54,8 +54,8 @@ void seq_pool_sum<float>(const float* din,
din_ptr += width;
}
#else
int cnt_w = height >> 2;
int remain_w = height & 3;
int cnt_w = width >> 2;
int remain_w = width & 3;
int cnt_h = height >> 2;
int remain_h = height & 3;
int stride = width << 2;
......@@ -211,8 +211,8 @@ void seq_pool_max<float>(const float* din,
din_ptr += width;
}
#else
int cnt_w = height >> 2;
int remain_w = height & 3;
int cnt_w = width >> 2;
int remain_w = width & 3;
int cnt_h = height >> 2;
int remain_h = height & 3;
int stride = width << 2;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册