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

Fix sequence replace and from_tensor #61

Closed mikeheddes closed 2 years ago

mikeheddes commented 2 years ago

Unifies all structures to use size to denote either the size of length of the data structure. Fixes missing size when using Sequence.from_tensor, and fixes Sequence.replace.