提交 c645d065 编写于 作者: W wanghaox

add a space + *

上级 13d39eaf
......@@ -47,7 +47,8 @@ class MaxOutFunctor<platform::CPUPlace, T> {
// T ele = maxout_process.initial();
T ele = static_cast<T>(-FLT_MAX);
for (int ph = 0; ph < groups; ++ph) {
T x = input_data[(new_bindex+new_cindex) * groups+ph*fea_size+f];
T x = input_data[(new_bindex + new_cindex) * groups
+ ph * fea_size + f];
ele = ele > x ? ele : x;
}
output_data[(new_bindex+new_cindex+f)] = ele;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册