mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Loading may or may not work. But probably.
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
#include "maxpool_layer.h"
|
||||
|
||||
maxpool_layer make_maxpool_layer(int h, int w, int c, int stride)
|
||||
maxpool_layer *make_maxpool_layer(int h, int w, int c, int stride)
|
||||
{
|
||||
maxpool_layer layer;
|
||||
layer.stride = stride;
|
||||
layer.output = make_image((h-1)/stride+1, (w-1)/stride+1, c);
|
||||
maxpool_layer *layer = calloc(1, sizeof(maxpool_layer));
|
||||
layer->stride = stride;
|
||||
layer->output = make_image((h-1)/stride+1, (w-1)/stride+1, c);
|
||||
return layer;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user