Minor clean up
This commit is contained in:
@@ -66,10 +66,9 @@ def normalization_layer_set_weights(n_layer):
|
||||
def build_model():
|
||||
# Normalize characters using a dense layer
|
||||
model = Sequential()
|
||||
dense_layer = Dense(INPUT_VOCAB_SIZE,
|
||||
model.add(Dense(INPUT_VOCAB_SIZE,
|
||||
input_shape=(WINDOW_SIZE*INPUT_VOCAB_SIZE,),
|
||||
activation='softmax')
|
||||
model.add(dense_layer)
|
||||
activation='softmax'))
|
||||
return model
|
||||
|
||||
model = build_model()
|
||||
|
||||
Reference in New Issue
Block a user