安装 PyG
开始使用
教程
高级概念
包参考
速查表
外部资源
Bases: KNNIndex
KNNIndex
基于最大内积通过faiss库执行快速的\(k\)-最近邻搜索(\(k\)-NN)。
faiss
emb (torch.Tensor, optional) – The data points to add. (default: None)
None