hyperdimensional-computing / torchhd

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

Add functional creation of graph #85

Closed mikeheddes closed 1 year ago

mikeheddes commented 1 year ago

Added function that creates a hypervector containing the multiset of bound node hypervector pairs. Also added a convenient way to initialize a Graph structure using this method. This should make it easy to convert graphs from PyTorch Geometric into graph hypervectors.

Closes #9