From 14303717dcddae43cdc55beb0685dae86f566fd8 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Sat, 25 Oct 2014 18:57:26 +0000
Subject: [PATCH] Fast, needs to be faster

---
 src/activations.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/activations.c b/src/activations.c
index 4a4bd3f..84fe9f9 100644
--- a/src/activations.c
+++ b/src/activations.c
@@ -40,6 +40,7 @@
 float relu_activate(float x){return x*(x>0);}
 float ramp_activate(float x){return x*(x>0)+.1*x;}
 float tanh_activate(float x){return (exp(2*x)-1)/(exp(2*x)+1);}
+//float tanh_activate(float x){return x - (x*x*x)/3;}
 
 float linear_gradient(float x){return 1;}
 float sigmoid_gradient(float x){return (1-x)*x;}

--
Gitblit v1.10.0