Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
benfred committed Nov 18, 2024
1 parent 7ab03ee commit 3c9ac1a
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion python/cuvs/cuvs/neighbors/brute_force/brute_force.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ from pylibraft.common.cai_wrapper import wrap_array
from pylibraft.common.interruptible import cuda_interruptible

from cuvs.distance import DISTANCE_TYPES
from cuvs.neighbors.common import check_input_array
from cuvs.neighbors.common import _check_input_array

from cuvs.common.c_api cimport cuvsResources_t

Expand Down
2 changes: 1 addition & 1 deletion python/cuvs/cuvs/neighbors/cagra/cagra.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ from pylibraft.common import auto_convert_output, cai_wrapper, device_ndarray
from pylibraft.common.cai_wrapper import wrap_array
from pylibraft.common.interruptible import cuda_interruptible

from cuvs.neighbors.common import check_input_array
from cuvs.neighbors.common import _check_input_array

from libc.stdint cimport (
int8_t,
Expand Down
2 changes: 1 addition & 1 deletion python/cuvs/cuvs/neighbors/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.


def check_input_array(cai, exp_dt, exp_rows=None, exp_cols=None):
def _check_input_array(cai, exp_dt, exp_rows=None, exp_cols=None):
if cai.dtype not in exp_dt:
raise TypeError("dtype %s not supported" % cai.dtype)

Expand Down
2 changes: 1 addition & 1 deletion python/cuvs/cuvs/neighbors/filters/filters.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import numpy as np
from libc.stdint cimport uintptr_t

from cuvs.common cimport cydlpack
from cuvs.neighbors.common import check_input_array
from cuvs.neighbors.common import _check_input_array

from .filters cimport BITMAP, NO_FILTER, cuvsFilter

Expand Down
2 changes: 1 addition & 1 deletion python/cuvs/cuvs/neighbors/hnsw/hnsw.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ from libcpp.string cimport string

from cuvs.common.exceptions import check_cuvs
from cuvs.common.resources import auto_sync_resources
from cuvs.neighbors.common import check_input_array
from cuvs.neighbors.common import _check_input_array

from cuvs.common cimport cydlpack

Expand Down
2 changes: 1 addition & 1 deletion python/cuvs/cuvs/neighbors/ivf_flat/ivf_flat.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ from pylibraft.common.cai_wrapper import wrap_array
from pylibraft.common.interruptible import cuda_interruptible

from cuvs.distance import DISTANCE_TYPES
from cuvs.neighbors.common import check_input_array
from cuvs.neighbors.common import _check_input_array

from libc.stdint cimport (
int8_t,
Expand Down
2 changes: 1 addition & 1 deletion python/cuvs/cuvs/neighbors/ivf_pq/ivf_pq.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ from pylibraft.common.cai_wrapper import wrap_array
from pylibraft.common.interruptible import cuda_interruptible

from cuvs.distance import DISTANCE_TYPES
from cuvs.neighbors.common import check_input_array
from cuvs.neighbors.common import _check_input_array

from libc.stdint cimport (
int8_t,
Expand Down
2 changes: 1 addition & 1 deletion python/cuvs/cuvs/neighbors/refine.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ from cuvs.distance import DISTANCE_TYPES
from cuvs.common.c_api cimport cuvsResources_t

from cuvs.common.exceptions import check_cuvs
from cuvs.neighbors.common import check_input_array
from cuvs.neighbors.common import _check_input_array


@auto_sync_resources
Expand Down

0 comments on commit 3c9ac1a

Please sign in to comment.