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