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 maximum inner product via the faiss library.
faiss
emb (torch.Tensor, optional) – The data points to add. (default: None)
None