From 47528e37cf29e0f9da6885213e5aee044bed84ef Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Wed, 15 Apr 2015 08:04:38 +0000
Subject: [PATCH] crop layer scaling and trans on cpu

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

diff --git a/src/activations.h b/src/activations.h
index 07c5b5e..0aa61c2 100644
--- a/src/activations.h
+++ b/src/activations.h
@@ -1,6 +1,7 @@
-#include "cuda.h"
 #ifndef ACTIVATIONS_H
 #define ACTIVATIONS_H
+#include "cuda.h"
+#include "math.h"
 
 typedef enum{
     LOGISTIC, RELU, RELIE, LINEAR, RAMP, TANH, PLSE

--
Gitblit v1.10.0