From 4d2fefd75a57dfd6e60680eaf7408c82e15a025d Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 17 Aug 2017 23:12:44 +0000
Subject: [PATCH] More usage rand_s()

---
 src/network.h |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/src/network.h b/src/network.h
index 67f93f7..bb65eac 100644
--- a/src/network.h
+++ b/src/network.h
@@ -2,8 +2,13 @@
 #ifndef NETWORK_H
 #define NETWORK_H
 
-#include "image.h"
 #include "layer.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "image.h"
 #include "data.h"
 #include "tree.h"
 
@@ -37,6 +42,11 @@
     int num_steps;
     int burn_in;
 
+    int adam;
+    float B1;
+    float B2;
+    float eps;
+
     int inputs;
     int h, w, c;
     int max_crop;
@@ -120,5 +130,9 @@
 int get_network_nuisance(network net);
 int get_network_background(network net);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif
 

--
Gitblit v1.10.0