torchhd
torchhd copied to clipboard
Add embeddings for text data
Since text data is often used, we can add a wrapper around the Random embeddings to store a mapping of characters to random hypervectors (Text(chars, padding=" ")).