Skip to content

Commit

Permalink
added test for the model config util
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmpercussion committed Jun 26, 2024
1 parent 0a5fd9a commit 6f3e0e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions impsy/tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,9 @@ def test_training():
Xs, ys = train.seq_to_overlapping_format(slices)
history = net.train(Xs, ys, num_epochs=num_epochs, saving=False)
assert isinstance(history, tf.keras.callbacks.History)


def test_model_config():
"""Tests the model config function."""
conf = utils.mdrnn_config('s')
assert(conf["units"] == 64)

0 comments on commit 6f3e0e5

Please sign in to comment.