From a723e1c62a27aeb39aaf7fcdeb3beb4e89fba32d Mon Sep 17 00:00:00 2001
From: Alexey <AlexeyAB@users.noreply.github.com>
Date: Wed, 15 Aug 2018 20:52:09 +0000
Subject: [PATCH] Merge pull request #766 from HotChick91/AlexeyAB-mask

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

diff --git a/src/network.h b/src/network.h
index 4198c4b..3b07dbb 100644
--- a/src/network.h
+++ b/src/network.h
@@ -134,6 +134,7 @@
 void set_batch_network(network *net, int b);
 int get_network_input_size(network net);
 float get_network_cost(network net);
+YOLODLL_API layer* get_network_layer(network* net, int i);
 YOLODLL_API detection *get_network_boxes(network *net, int w, int h, float thresh, float hier, int *map, int relative, int *num, int letter);
 YOLODLL_API detection *make_network_boxes(network *net, float thresh, int *num);
 YOLODLL_API void free_detections(detection *dets, int n);
@@ -145,9 +146,12 @@
 YOLODLL_API int network_width(network *net);
 YOLODLL_API int network_height(network *net);
 
+YOLODLL_API void optimize_picture(network *net, image orig, int max_layer, float scale, float rate, float thresh, int norm);
+
 int get_network_nuisance(network net);
 int get_network_background(network net);
 YOLODLL_API void fuse_conv_batchnorm(network net);
+YOLODLL_API void calculate_binary_weights(network net);
 
 #ifdef __cplusplus
 }

--
Gitblit v1.10.0