hyperdimensional-computing / torchhd

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

Sparsity #56

Closed igordeoliveiranunes closed 2 years ago

mikeheddes commented 2 years ago

Looks good. Could you also update the documentation and testing to make sure the sparsity works correctly? For the docs, just copy paste the sparsity line under Args from binary_hv. For testing you could do something similar as with the binary_hv value tests as well.