From 9f76b84cff0d736db80c8f0f65a904730d42fc93 Mon Sep 17 00:00:00 2001 From: Crista Lopes Date: Fri, 27 Dec 2019 09:54:06 -0800 Subject: [PATCH] Flip two lines --- 35-dense/tf-35.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/35-dense/tf-35.py b/35-dense/tf-35.py index 7cce62f..c8668bd 100644 --- a/35-dense/tf-35.py +++ b/35-dense/tf-35.py @@ -28,8 +28,8 @@ def decode_one_hot(x): def normalization_layer_set_weights(n_layer): wb = [] - b = np.zeros((INPUT_VOCAB_SIZE), dtype=np.float32) w = np.zeros((INPUT_VOCAB_SIZE, INPUT_VOCAB_SIZE), dtype=np.float32) + b = np.zeros((INPUT_VOCAB_SIZE), dtype=np.float32) # Let lower case letters go through for c in string.ascii_lowercase: i = char_indices[c]