Skip to content

Commit

Permalink
Adding minkowski to python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cjnolet committed Jan 14, 2025
1 parent 8a7523e commit fe5e4cb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions python/cuvs/cuvs/test/test_distance.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"jensenshannon",
"russellrao",
"cosine",
"sqeuclidean",
"minkowski" "sqeuclidean",
"inner_product",
],
)
Expand Down Expand Up @@ -69,10 +69,7 @@ def test_distance(n_rows, n_cols, inplace, metric, dtype):
output_device = device_ndarray(output) if inplace else None

ret_output = pairwise_distance(
input1_device,
input1_device,
output_device,
metric,
input1_device, input1_device, output_device, metric, p=2.0
)

output_device = ret_output if not inplace else output_device
Expand Down

0 comments on commit fe5e4cb

Please sign in to comment.