Skip to content

Commit c645d06

Browse files
author
wanghaox
committed
add a space + *
1 parent 13d39ea commit c645d06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

paddle/operators/math/maxouting.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ class MaxOutFunctor<platform::CPUPlace, T> {
4747
// T ele = maxout_process.initial();
4848
T ele = static_cast<T>(-FLT_MAX);
4949
for (int ph = 0; ph < groups; ++ph) {
50-
T x = input_data[(new_bindex+new_cindex) * groups+ph*fea_size+f];
50+
T x = input_data[(new_bindex + new_cindex) * groups
51+
+ ph * fea_size + f];
5152
ele = ele > x ? ele : x;
5253
}
5354
output_data[(new_bindex+new_cindex+f)] = ele;

0 commit comments

Comments
 (0)