Joseph Redmon
2015-05-08 0cbfa4646128206300b9a30586615c3698abfb76
src/network.h
@@ -3,7 +3,7 @@
#define NETWORK_H
#include "image.h"
#include "params.h"
#include "detection_layer.h"
#include "data.h"
typedef enum {
@@ -16,6 +16,7 @@
    NORMALIZATION,
    DROPOUT,
    CROP,
    ROUTE,
    COST
} LAYER_TYPE;
@@ -46,6 +47,7 @@
float *network_predict_gpu(network net, float *input);
float * get_network_output_gpu_layer(network net, int i);
float * get_network_delta_gpu_layer(network net, int i);
float *get_network_output_gpu(network net);
#endif
void compare_networks(network n1, network n2, data d);
@@ -81,6 +83,10 @@
void set_batch_network(network *net, int b);
int get_network_input_size(network net);
float get_network_cost(network net);
detection_layer *get_network_detection_layer(network net);
int get_network_nuisance(network net);
int get_network_background(network net);
#endif