Joseph Redmon
2013-11-04 41bcfac86fa4dc856f3d1894efeee0f55f86f7b0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Oh boy, why am I about to do this....
#ifndef NETWORK_H
#define NETWORK_H
 
#include "image.h"
 
typedef enum {
    CONVOLUTIONAL,
    CONNECTED,
    MAXPOOL
} LAYER_TYPE;
 
typedef struct {
    int n;
    void **layers;
    LAYER_TYPE *types;
} network;
 
void run_network(image input, network net);
image get_network_image(network net);
 
#endif