From 68ff1ad36858fd32f358e00e889261794ac4ed9c Mon Sep 17 00:00:00 2001
From: Alexey <AlexeyAB@users.noreply.github.com>
Date: Wed, 07 Feb 2018 22:13:08 +0000
Subject: [PATCH] Update Readme.md - parameter for small objects
---
src/network.h | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/network.h b/src/network.h
index e48cbc2..6f4123a 100644
--- a/src/network.h
+++ b/src/network.h
@@ -2,8 +2,14 @@
#ifndef NETWORK_H
#define NETWORK_H
-#include "image.h"
+#include <stdint.h>
#include "layer.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "image.h"
#include "data.h"
#include "tree.h"
@@ -15,7 +21,7 @@
float *workspace;
int n;
int batch;
- int *seen;
+ int *seen;
float epoch;
int subdivisions;
float momentum;
@@ -58,6 +64,7 @@
#ifdef GPU
float **input_gpu;
float **truth_gpu;
+ int wait_stream;
#endif
} network;
@@ -125,5 +132,9 @@
int get_network_nuisance(network net);
int get_network_background(network net);
+#ifdef __cplusplus
+}
+#endif
+
#endif
--
Gitblit v1.10.0