From 664c5dd2f2d1c4ad177d5122df6ce3e2900c6648 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Sun, 22 Mar 2015 16:56:40 +0000
Subject: [PATCH] Subdivisions for batches

---
 src/detection_layer.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/detection_layer.h b/src/detection_layer.h
index 69a83a7..2ad1ef2 100644
--- a/src/detection_layer.h
+++ b/src/detection_layer.h
@@ -8,6 +8,7 @@
     int inputs;
     int classes;
     int coords;
+    int background;
     int rescore;
     float *output;
     float *delta;
@@ -17,7 +18,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);
 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);

--
Gitblit v1.10.0