Source code for pe.histogram.nearest_neighbor_backend.faiss

import faiss
import torch
import numpy as np