index 902a066702462ba04e4f15d644a03de85eec9767..c2a52011cd0e8af3998eb2168768a7ac38d6ef7a 100644 (file)
int post_pad = size - pre_pad - 1;
Dtype accum_scale = 0;
// fill the scale at [n, :, h, w]
- // accumulate values
+ // accumulate values
while (head < post_pad) {
accum_scale += in[head * step] * in[head * step];
++head;