Joseph Redmon
2015-11-09 eaf033c0570308dfcd381ed61d274c7f5add7cfc
src/avgpool_layer.c
@@ -58,7 +58,7 @@
            int out_index = k + b*l.c;
            for(i = 0; i < l.h*l.w; ++i){
                int in_index = i + l.h*l.w*(k + b*l.c);
                state.delta[in_index] = l.delta[out_index] / (l.h*l.w);
                state.delta[in_index] += l.delta[out_index] / (l.h*l.w);
            }
        }
    }