Module fast_transformers.hashing.hash_cpu

Functions

def compute_hashes(...)

compute_hashes(arg0: at::Tensor, arg1: at::Tensor, arg2: at::Tensor) -> None

Hash the vectors X using SIMPLE-LSH.

def compute_hashes_from_projections(...)

compute_hashes_from_projections(arg0: at::Tensor, arg1: at::Tensor) -> None

Hash the vectors X given the computed projections.