Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Torchaudio
Commits
963224f5
Unverified
Commit
963224f5
authored
Oct 01, 2020
by
Vincent QB
Committed by
GitHub
Oct 01, 2020
Browse files
remove * in import of models (#932)
* remove * in import of models. * only importing WaveRNN in tests.
parent
1df9e201
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
test/torchaudio_unittest/models_test.py
test/torchaudio_unittest/models_test.py
+2
-8
torchaudio/models/__init__.py
torchaudio/models/__init__.py
+2
-2
No files found.
test/torchaudio_unittest/models_test.py
View file @
963224f5
...
...
@@ -2,15 +2,9 @@ import itertools
from
collections
import
namedtuple
import
torch
from
torchaudio.models
import
(
Wav2Letter
,
MelResNet
,
UpsampleNetwork
,
WaveRNN
,
ConvTasNet
,
)
from
parameterized
import
parameterized
from
torchaudio.models
import
ConvTasNet
,
Wav2Letter
,
WaveRNN
from
torchaudio.models.wavernn
import
MelResNet
,
UpsampleNetwork
from
torchaudio_unittest
import
common_utils
...
...
torchaudio/models/__init__.py
View file @
963224f5
from
.wav2letter
import
*
from
.wavernn
import
*
from
.wav2letter
import
Wav2Letter
from
.wavernn
import
WaveRNN
from
.conv_tasnet
import
ConvTasNet
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment