hamming-sim-pytorch
is a library that provides hamming similarity implementation
optimized for CPUs using PyTorch.
The binary wheel currently supports Intel Haswell CPUs and PyTorch 1.13.1 and 2.4.0. Use the source distribution to build a binary wheel for different architectures.
pip install hamming-sim-pytorch
examples/time_hamming_sim.py
contains a practical
example using the library.
hamming-sim-pytorch
is open-sourced software licensed under the MIT license.