Skip to content

Commit 590bbd7

Browse files
committed
Rename to Torchhd
1 parent 2725128 commit 590bbd7

12 files changed

+23
-23
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Torchhd is a Python library for Hyperdimensional Computing.
2424
Torchhd is hosted on PyPi and Anaconda, use one of the following commands to install:
2525

2626
```bash
27-
pip install hdc
27+
pip install torchhd
2828
```
2929

3030
```bash

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
# -- Project information -----------------------------------------------------
2020

21-
project = "hdc"
21+
project = "Torchhd"
2222
copyright = (
2323
"2022, Mike Heddes, Igor De Oliveira Nunes, Dheyay Desai, Pere Verges Boncompte"
2424
)

docs/datasets.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Datasets
22
========
33

4-
The hdc library provides many popular built-in datasets to work with.
4+
The Torchhd library provides many popular built-in datasets to work with.
55

6-
.. currentmodule:: hdc.datasets
6+
.. currentmodule:: torchhd.datasets
77

88
.. autosummary::
99
:toctree: generated/

docs/embeddings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Embeddings
22
==================
33

4-
.. currentmodule:: hdc.embeddings
4+
.. currentmodule:: torchhd.embeddings
55

66
.. autosummary::
77
:toctree: generated/

docs/functional.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Functional
22
=========================
33

4-
.. currentmodule:: hdc.functional
4+
.. currentmodule:: torchhd.functional
55

66
This module consists of the basic hypervector generation functions and operations used on hypervectors.
77

examples/emg_hand_gestures.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
import torchmetrics
1313
from tqdm import tqdm
1414

15-
from hdc import functional
16-
from hdc import embeddings
17-
from hdc.datasets import EMGHandGestures
15+
from torchhd import functional
16+
from torchhd import embeddings
17+
from torchhd.datasets import EMGHandGestures
1818

1919
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
2020
print("Using {} device".format(device))

examples/graphhd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
# Note: this example requires the torchmetrics library: https://torchmetrics.readthedocs.io
1515
import torchmetrics
1616

17-
from hdc import functional
18-
from hdc import embeddings
17+
from torchhd import functional
18+
from torchhd import embeddings
1919

2020
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
2121
print("Using {} device".format(device))

examples/hd_hashing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Note: this example requires the mmh3 library: https://github.com/hajimes/mmh3
99
import mmh3
1010

11-
from hdc import functional
11+
from torchhd import functional
1212

1313

1414
class HDHashing:

examples/language_recognition.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
import torchmetrics
1313
from tqdm import tqdm
1414

15-
from hdc import functional
16-
from hdc import embeddings
17-
from hdc.datasets import EuropeanLanguages as Languages
15+
from torchhd import functional
16+
from torchhd import embeddings
17+
from torchhd.datasets import EuropeanLanguages as Languages
1818

1919
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
2020
print("Using {} device".format(device))

examples/mnist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
import torchmetrics
1414
from tqdm import tqdm
1515

16-
from hdc import functional
17-
from hdc import embeddings
16+
from torchhd import functional
17+
from torchhd import embeddings
1818

1919

2020
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")

0 commit comments

Comments
 (0)