From b5938098d12d5c9fe48e7cc71ae3d75b7306833f Mon Sep 17 00:00:00 2001
From: Alexey <AlexeyAB@users.noreply.github.com>
Date: Mon, 02 Jan 2017 12:33:31 +0000
Subject: [PATCH] Update Readme.md - pragma-libs in How to compile

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

diff --git a/src/activations.c b/src/activations.c
index 6ab4963..0cbb2f5 100644
--- a/src/activations.c
+++ b/src/activations.c
@@ -32,6 +32,8 @@
             return "stair";
         case HARDTAN:
             return "hardtan";
+        case LHTAN:
+            return "lhtan";
         default:
             break;
     }
@@ -47,6 +49,7 @@
     if (strcmp(s, "relie")==0) return RELIE;
     if (strcmp(s, "plse")==0) return PLSE;
     if (strcmp(s, "hardtan")==0) return HARDTAN;
+    if (strcmp(s, "lhtan")==0) return LHTAN;
     if (strcmp(s, "linear")==0) return LINEAR;
     if (strcmp(s, "ramp")==0) return RAMP;
     if (strcmp(s, "leaky")==0) return LEAKY;
@@ -83,6 +86,8 @@
             return stair_activate(x);
         case HARDTAN:
             return hardtan_activate(x);
+        case LHTAN:
+            return lhtan_activate(x);
     }
     return 0;
 }
@@ -122,6 +127,8 @@
             return stair_gradient(x);
         case HARDTAN:
             return hardtan_gradient(x);
+        case LHTAN:
+            return lhtan_gradient(x);
     }
     return 0;
 }

--
Gitblit v1.10.0