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

+1-1
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

+1-1
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

+2-2
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

+1-1
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

+1-1
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

+3-3
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

+2-2
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

+1-1
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

+3-3
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

+2-2
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")

examples/random_projection.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
import torchmetrics
1414
from tqdm import tqdm
1515

16-
from hdc import functional
17-
from hdc import embeddings
18-
from hdc.datasets import BeijingAirQuality
16+
from torchhd import functional
17+
from torchhd import embeddings
18+
from torchhd.datasets import BeijingAirQuality
1919

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

examples/voicehd.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
import torchmetrics
1212
from tqdm import tqdm
1313

14-
from hdc import functional
15-
from hdc import embeddings
16-
from hdc.datasets.isolet import ISOLET
14+
from torchhd import functional
15+
from torchhd import embeddings
16+
from torchhd.datasets.isolet import ISOLET
1717

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

0 commit comments

Comments
 (0)