Remove batch size from the Input layer
This commit is contained in:
parent
acd231e633
commit
6cd9445e17
|
@ -20,7 +20,7 @@ def build_model(hyperparams) -> Model:
|
||||||
"""
|
"""
|
||||||
model = Sequential(
|
model = Sequential(
|
||||||
[
|
[
|
||||||
Input(shape=(hyperparams.batch_size, hyperparams.max_length, len(BASES))),
|
Input(shape=(hyperparams.max_length, len(BASES))),
|
||||||
Masking(mask_value=-1),
|
Masking(mask_value=-1),
|
||||||
Dense(
|
Dense(
|
||||||
units=256, activation="relu", kernel_regularizer=l2(hyperparams.l2_rate)
|
units=256, activation="relu", kernel_regularizer=l2(hyperparams.l2_rate)
|
||||||
|
|
Loading…
Reference in New Issue