From a856d010176366562caf03eaa873bb91f658446e Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sat, 29 Aug 2020 15:01:24 +0200 Subject: [PATCH] Move forward feeding to sigmoid Let's comare it to reLU later on. --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index 8a6dc96..366a5a0 100755 --- a/train.py +++ b/train.py @@ -46,7 +46,7 @@ for i in range(1, NUM_LAYERS): biases.append(rg.normal(scale=10, size=SIZES[i])) -def feed_forward(x, transfer=reLU): +def feed_forward(x, transfer=sigmoid): '''Compute all z and output vectors for given input vector''' a_s = [x] -- 2.39.5