From 27d0c922eab34025327d885c2137f7168b6130b7 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Thu, 30 Oct 2014 06:47:50 +0000
Subject: [PATCH] im2col actually works now
---
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