Skip to content

Commit

Permalink
Update tests.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealGremlin authored Jan 7, 2024
1 parent 88e6dab commit 825cf6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ def test_visualization():


def test_embed_visualization():
N, dim, data = utils.create_testing_data()
N, dim, data, labels = utils.create_testing_data()
model = utils.create_testing_model()
layers = ["second_layer", "third_layer"]
res = viz_api.visualize_recurrent_layer_manifolds(model, "umap", data, layers=layers)
res = viz_api.visualize_recurrent_layer_manifolds(model, "umap", data, layers=layers, labels=labels)

utils.compare_values(dict, type(res), "Wrong result type")
utils.compare_values(3, len(res), "Wrong dictionary length")
Expand Down

0 comments on commit 825cf6f

Please sign in to comment.