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

Add MCRTensor #174

Closed milad2073 closed 1 month ago

milad2073 commented 1 month ago

Adding MCRTensor (Modular Composite Representation) based on this.

Description

The added class is a copy of BSBCTensor that has a different implementation of the following methods: - bundle - multibundle - dot_similarity Closes #150 ## Checklist - [x] I added/updated documentation for the changes. - [x] I have thoroughly tested the changes.
mikeheddes commented 1 month ago

Hi @milad2073, thank you for implementing the Modular Composite Representation. This is a great addition to the library. I will review your PR tomorrow.

mikeheddes commented 1 month ago

This looks great! Thank you for your contribution @milad2073