Skip to content

Commit a37a2ad

Browse files
committed
store the dimension for access
1 parent ab731b4 commit a37a2ad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

conformer/conformer.py

+1
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ def __init__(
225225
conv_dropout = 0.
226226
):
227227
super().__init__()
228+
self.dim = dim
228229
self.layers = nn.ModuleList([])
229230

230231
for _ in range(depth):

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name = 'conformer',
55
packages = find_packages(),
6-
version = '0.3.0',
6+
version = '0.3.1',
77
license='MIT',
88
description = 'The convolutional module from the Conformer paper',
99
author = 'Phil Wang',

0 commit comments

Comments
 (0)