diff options
Diffstat (limited to 'src/activations.c')
-rw-r--r-- | src/activations.c | 5 |
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 |