Install PyG
Get Started
Tutorials
Advanced Concepts
Package Reference
Cheatsheets
External Resources
Bases: KNNIndex
KNNIndex
Performs fast \(k\)-nearest neighbor search (\(k\)-NN) based on the \(L_2\) metric via the faiss library.
faiss
emb (torch.Tensor, optional) – The data points to add. (default: None)
None