Joseph Redmon
2014-02-24 956cfcaec993111426d91bcd61676b5fe0ebfd16
src/maxpool_layer.h
@@ -4,12 +4,16 @@
#include "image.h"
typedef struct {
    int h,w,c;
    int stride;
    image output;
    float *delta;
    float *output;
} maxpool_layer;
image get_maxpool_image(maxpool_layer layer);
maxpool_layer *make_maxpool_layer(int h, int w, int c, int stride);
void run_maxpool_layer(const image input, const maxpool_layer layer);
void forward_maxpool_layer(const maxpool_layer layer, float *in);
void backward_maxpool_layer(const maxpool_layer layer, float *in, float *delta);
#endif