gnes.indexer.vector.numpy module

class gnes.indexer.vector.numpy.NumpyIndexer(num_bytes: int = None, *args, **kwargs)[source]

Bases: gnes.indexer.base.BaseVectorIndexer

add(keys: List[Tuple[int, Any]], vectors: numpy.ndarray, weights: List[float], *args, **kwargs)[source]
query()[source]
train(*args, **kwargs)

Train the model, need to be overrided