From cdd1cb0e8c4fda3671714bb5ad6ba1825cff16d1 Mon Sep 17 00:00:00 2001
From: Puneet Kohli <punkohl@gmail.com>
Date: Sun, 06 May 2018 21:45:26 +0000
Subject: [PATCH] Change matplotlib backend to 'agg' when 'show_plot' is false. This allows the script to be run from command line without any errors (for ex, on a remote machine)

---
 src/softmax_layer.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/softmax_layer.h b/src/softmax_layer.h
index 9cbcd69..821a8dd 100644
--- a/src/softmax_layer.h
+++ b/src/softmax_layer.h
@@ -1,12 +1,11 @@
 #ifndef SOFTMAX_LAYER_H
 #define SOFTMAX_LAYER_H
-#include "params.h"
 #include "layer.h"
 #include "network.h"
 
 typedef layer softmax_layer;
 
-void softmax_array(float *input, int n, float *output);
+void softmax_array(float *input, int n, float temp, float *output);
 softmax_layer make_softmax_layer(int batch, int inputs, int groups);
 void forward_softmax_layer(const softmax_layer l, network_state state);
 void backward_softmax_layer(const softmax_layer l, network_state state);

--
Gitblit v1.10.0