From c40cdeb4021fc1a638969563972f13c9f5e90d74 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Fri, 09 Oct 2015 19:50:43 +0000
Subject: [PATCH] lots of comparator stuff
---
src/layer.h | 31 ++++++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/src/layer.h b/src/layer.h
index a591f03..49f144d 100644
--- a/src/layer.h
+++ b/src/layer.h
@@ -13,7 +13,10 @@
DROPOUT,
CROP,
ROUTE,
- COST
+ COST,
+ NORMALIZATION,
+ REGION,
+ AVGPOOL
} LAYER_TYPE;
typedef enum{
@@ -25,21 +28,30 @@
ACTIVATION activation;
COST_TYPE cost_type;
int batch;
+ int forced;
+ int object_logistic;
+ int class_logistic;
+ int coord_logistic;
int inputs;
int outputs;
+ int truths;
int h,w,c;
int out_h, out_w, out_c;
int n;
int groups;
int size;
+ int side;
int stride;
int pad;
int crop_width;
int crop_height;
+ int sqrt;
int flip;
float angle;
+ float jitter;
float saturation;
float exposure;
+ int softmax;
int classes;
int coords;
int background;
@@ -47,11 +59,22 @@
int objectness;
int does_cost;
int joint;
+ int noadjust;
+
+ float alpha;
+ float beta;
+ float kappa;
+
+ float coord_scale;
+ float object_scale;
+ float noobject_scale;
+ float class_scale;
int dontload;
float probability;
float scale;
+
int *indexes;
float *rand;
float *cost;
@@ -69,6 +92,8 @@
int * input_sizes;
float * delta;
float * output;
+ float * squared;
+ float * norms;
#ifdef GPU
int *indexes_gpu;
@@ -86,7 +111,11 @@
float * output_gpu;
float * delta_gpu;
float * rand_gpu;
+ float * squared_gpu;
+ float * norms_gpu;
#endif
} layer;
+void free_layer(layer);
+
#endif
--
Gitblit v1.10.0