mirror of https://github.com/AlexeyAB/darknet.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
347 B
23 lines
347 B
// 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 |
|
|
|
|