From a37a2adbbacbaf1545ae3a2abec61fa9f4d486a2 Mon Sep 17 00:00:00 2001 From: Phil Wang Date: Wed, 17 May 2023 12:17:08 -0700 Subject: [PATCH] store the dimension for access --- conformer/conformer.py | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conformer/conformer.py b/conformer/conformer.py index 62aced4..6762d13 100644 --- a/conformer/conformer.py +++ b/conformer/conformer.py @@ -225,6 +225,7 @@ def __init__( conv_dropout = 0. ): super().__init__() + self.dim = dim self.layers = nn.ModuleList([]) for _ in range(depth): diff --git a/setup.py b/setup.py index e388ad7..3bd36b0 100644 --- a/setup.py +++ b/setup.py @@ -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',