Skip to content

Commit

Permalink
* test(test_onnx_embeddings.py): remove unnecessary list conversion i…
Browse files Browse the repository at this point in the history
…n embeddings assignment
  • Loading branch information
NirantK committed Sep 25, 2023
1 parent 54a88d0 commit 4d6d27c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_onnx_embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def test_default_embedding():
model = DefaultEmbedding()

docs = ["hello world", "flag embedding"]
embeddings = np.array(list(model.embed(docs)))
embeddings = np.array(model.embed(docs))
assert embeddings.shape == (2, 384)

test_default_embedding()

0 comments on commit 4d6d27c

Please sign in to comment.