Skip to content

Commit

Permalink
improve commentary
Browse files Browse the repository at this point in the history
  • Loading branch information
moshaad7 committed Dec 11, 2023
1 parent 1f28be3 commit 3f37eca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions faiss_vector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ var stubVecData = [][]float32{
{7.437, 9.994, 0.407},
{4.439, 0.307, 1.063},
{6.653, 7.752, 0.972},

// flattened nested vectors
// len(vec) > dims and len(vec) % dims == 0
{1.23, 2.45, 2.867, 3.33, 4.56, 5.67},
{0.123, 0.456, 0.789, 0.987, 0.654, 0.321},
}
Expand Down

0 comments on commit 3f37eca

Please sign in to comment.