AnnIndex

Models & Types · AiDotNet.Tensors.Ann

No summary documentation available yet.

Constructors

Constructor Summary
AnnIndex(AnnIndexType type, int dim, int metric, int nlist, int nprobe, int m, int ksub, int seed)

Properties

Property Summary
AnnIndexType IndexType { get; }
bool IsTrained { get; }
int Count { get; }
int Dimension { get; }

Methods

Method Summary
ValueTuple<long[], float[]> Search(float[] query, int k)
void Add(long id, float[] vector)
void AttachGpu(IDirectGpuBackend backend)
void Train(float[] trainingVectors, int numVectors)