aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/activations.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/activations.c b/src/activations.c
index 011734d..e2704ee 100644
--- a/src/activations.c
+++ b/src/activations.c
@@ -14,6 +14,11 @@ struct Activation NN_LEAKY_RELU = {
.dfunc = dleaky_relu
};
+struct Activation NN_SOFTPLUS = {
+ .func = softplus,
+ .dfunc = dsoftplus
+};
+
struct Activation NN_RELU = {
.func = relu,
.dfunc = drelu
Feel free to download, copy and edit any repo