This commit is contained in:
Joseph Redmon
2016-01-18 15:40:14 -08:00
parent 9802287b58
commit 1578ec70d7
33 changed files with 849 additions and 174 deletions

View File

@ -51,6 +51,7 @@ void resize_maxpool_layer(maxpool_layer *l, int w, int h)
int stride = l->stride;
l->h = h;
l->w = w;
l->inputs = h*w*l->c;
l->out_w = (w-1)/stride + 1;
l->out_h = (h-1)/stride + 1;