From 47528e37cf29e0f9da6885213e5aee044bed84ef Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Wed, 15 Apr 2015 08:04:38 +0000
Subject: [PATCH] crop layer scaling and trans on cpu

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

diff --git a/src/detection_layer.h b/src/detection_layer.h
index 2ad1ef2..a56cb25 100644
--- a/src/detection_layer.h
+++ b/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);

--
Gitblit v1.10.0