Skip to content

Commit

Permalink
store the dimension for access
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed May 17, 2023
1 parent ab731b4 commit a37a2ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions conformer/conformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ def __init__(
conv_dropout = 0.
):
super().__init__()
self.dim = dim
self.layers = nn.ModuleList([])

for _ in range(depth):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'conformer',
packages = find_packages(),
version = '0.3.0',
version = '0.3.1',
license='MIT',
description = 'The convolutional module from the Conformer paper',
author = 'Phil Wang',
Expand Down

0 comments on commit a37a2ad

Please sign in to comment.