hyperdimensional-computing / torchhd

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

Ensure hamming similarity inputs are vsa tensors #159

Closed mikeheddes closed 9 months ago

mikeheddes commented 9 months ago

Description

All other functions in functional.py first ensure that the input is a VSATensor. This PR ensures that the hamming similarity follows this convention. This fixes #157 .

Checklist