Skip to content

Commit

Permalink
Correct a unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
menouarazib committed Sep 15, 2023
1 parent b92dddb commit 045a406
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/models/test_models_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ def test_create_models(self):
model_creator = ModelCreator(
[(RNN_ENCODER_DECODER, 1), (FFN, 2), (CNN, 2), (RNN_BIDIRECTIONAL, 1), (CONV_LSTM1D, 1), (LSTM, 3),
(SELF_ATTENTION, 3)],
hyperparams_rnn=(3, 45, 46),
hyperparams_cnn=(64, 65, 3, 4, 1),
hyperparams_ffn=(3, 64, 128), save_models_as_dot_format=False, root_dir=None)
hyperparams_rnn=(3, 45, 46, "tanh"),
hyperparams_cnn=(64, 65, 3, 4, 1, "relu"),
hyperparams_ffn=(3, 64, 128, "sigmoid"), save_models_as_dot_format=False, root_dir=None, dropout=0.3,
last_act_func="sigmoid", hyperparams_transformer=(256, 4, 1, True, "relu"))

model_creator.create_models(inputs=self.inputs_rnn)

Expand Down

0 comments on commit 045a406

Please sign in to comment.