Parsing, image loading, lots of stuff

This commit is contained in:
Joseph Redmon
2013-11-13 10:50:38 -08:00
parent d7286c2732
commit 2db9fbef2b
29 changed files with 1295 additions and 278 deletions

View File

@ -4,12 +4,15 @@
#include "image.h"
typedef struct {
int h,w,c;
int stride;
image output;
double *delta;
double *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, double *in);
#endif