We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0f4c0e commit b8ddeb3Copy full SHA for b8ddeb3
test/test_models.py
@@ -1,8 +1,10 @@
1
import torch
2
from torchaudio.models import Wav2Letter, _MelResNet
3
4
+from . import common_utils
5
-class TestWav2Letter:
6
+
7
+class TestWav2Letter(common_utils.TorchaudioTestCase):
8
9
def test_waveform(self):
10
batch_size = 2
@@ -31,7 +33,7 @@ def test_mfcc(self):
31
33
assert out.size() == (batch_size, num_classes, 2)
32
34
35
-class TestMelResNet:
36
+class TestMelResNet(common_utils.TorchaudioTestCase):
37
38
39
0 commit comments