Joseph Redmon
2015-03-30 6553b3f0e3e55fc30a99c7d4b5798aa86d18a114
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,7 +19,7 @@
    #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);