Flip two lines
This commit is contained in:
@@ -28,8 +28,8 @@ def decode_one_hot(x):
|
|||||||
|
|
||||||
def normalization_layer_set_weights(n_layer):
|
def normalization_layer_set_weights(n_layer):
|
||||||
wb = []
|
wb = []
|
||||||
b = np.zeros((INPUT_VOCAB_SIZE), dtype=np.float32)
|
|
||||||
w = np.zeros((INPUT_VOCAB_SIZE, 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
|
# Let lower case letters go through
|
||||||
for c in string.ascii_lowercase:
|
for c in string.ascii_lowercase:
|
||||||
i = char_indices[c]
|
i = char_indices[c]
|
||||||
|
|||||||
Reference in New Issue
Block a user