Skip to content

Commit

Permalink
I don't know what you're talking about Alexey...
Browse files Browse the repository at this point in the history
  • Loading branch information
pjreddie committed Aug 3, 2018
1 parent b13f67b commit 9a4b19c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/maxpool_layer.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ void resize_maxpool_layer(maxpool_layer *l, int w, int h)
void forward_maxpool_layer(const maxpool_layer l, network net)
{
int b,i,j,k,m,n;
int w_offset = -l.pad/l.stride;
int h_offset = -l.pad/l.stride;
int w_offset = -l.pad/2;
int h_offset = -l.pad/2;

int h = l.out_h;
int w = l.out_w;
Expand Down

0 comments on commit 9a4b19c

Please sign in to comment.