Skip to content

Commit f8d36f9

Browse files
committed
Fix random permute documentation
1 parent 78ab132 commit f8d36f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

torchhd/functional.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -717,9 +717,6 @@ def permute(input: VSATensor, *, shifts=1) -> VSATensor:
717717

718718

719719
class create_random_permute(torch.nn.Module):
720-
forward_indices: LongTensor
721-
backward_indices: LongTensor
722-
723720
r"""Creates random permutation functions.
724721
725722
Args:
@@ -744,6 +741,9 @@ class create_random_permute(torch.nn.Module):
744741
745742
"""
746743

744+
forward_indices: LongTensor
745+
backward_indices: LongTensor
746+
747747
def __init__(self, dim: int) -> None:
748748
super().__init__()
749749

0 commit comments

Comments
 (0)