darknet/src/maxpool_layer.h

16 lines
285 B
C
Raw Normal View History

2013-11-04 23:11:01 +04:00
#ifndef MAXPOOL_LAYER_H
#define MAXPOOL_LAYER_H
#include "image.h"
typedef struct {
int stride;
image output;
} maxpool_layer;
maxpool_layer *make_maxpool_layer(int h, int w, int c, int stride);
2013-11-04 23:11:01 +04:00
void run_maxpool_layer(const image input, const maxpool_layer layer);
#endif