Joseph Redmon
2015-04-07 1fd10265f8a63d1b1305f40111a97518f5541da2
src/detection_layer.h
@@ -8,7 +8,9 @@
    int inputs;
    int classes;
    int coords;
    int background;
    int rescore;
    int nuisance;
    float *output;
    float *delta;
    #ifdef GPU
@@ -17,10 +19,11 @@
    #endif
} detection_layer;
detection_layer *make_detection_layer(int batch, int inputs, int classes, int coords, int rescore);
detection_layer *make_detection_layer(int batch, int inputs, int classes, int coords, int rescore, int background, int nuisance);
void forward_detection_layer(const detection_layer layer, network_state state);
void backward_detection_layer(const detection_layer layer, network_state state);
int get_detection_layer_output_size(detection_layer layer);
int get_detection_layer_locations(detection_layer layer);
#ifdef GPU
void forward_detection_layer_gpu(const detection_layer layer, network_state state);