hyperdimensional-computing / torchhd

Torchhd is a Python library for Hyperdimensional Computing and Vector Symbolic Architectures
https://torchhd.readthedocs.io
MIT License
248 stars 25 forks source link

ensure_vsa not called in hamming_similarity #157

Closed Zeldax64 closed 1 year ago

Zeldax64 commented 1 year ago

Other similarity measurements and operations available in functional.py make sure that inputs are VSA. However, hamming_similarity does not perform this check.