mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
24 lines
347 B
C
24 lines
347 B
C
|
// 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
|
||
|
|