Joseph Redmon
2015-04-17 f199fd3b6464e644566d76676c0b5f1824d26c4e
src/detection_layer.h
@@ -10,6 +10,7 @@
    int coords;
    int background;
    int rescore;
    int nuisance;
    float *output;
    float *delta;
    #ifdef GPU
@@ -18,10 +19,11 @@
    #endif
} detection_layer;
detection_layer *make_detection_layer(int batch, int inputs, int classes, int coords, int rescore, int background);
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);