From 9156af505771c0bd1540866239efc73ba002dfa9 Mon Sep 17 00:00:00 2001 From: Dawith Date: Sun, 1 Mar 2026 20:52:45 -0500 Subject: [PATCH] Linear works better than the custom sub-linear fnuction --- model/activation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/model/activation.py b/model/activation.py index b710494..c52c233 100644 --- a/model/activation.py +++ b/model/activation.py @@ -5,4 +5,8 @@ def sublinear(x): return x / (1 + K.sqrt(K.sqrt(K.abs(x)))) +def linear(x): + return x + #return x / (1 + K.sqrt(K.sqrt(K.abs(x)))) + # EOF