From 451ef0a0a6b595bb8e4a945633659b4d31f0a372 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Mon, 20 Apr 2015 15:46:12 +0000
Subject: [PATCH] It's time, to du-du-du-du-DU-DU-DUEL!! https://www.youtube.com/watch?v=IVmtUK_1jh4
---
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