Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions test/test_models.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import torch
from torchaudio.models import Wav2Letter, _MelResNet

from . import common_utils

class TestWav2Letter:

class TestWav2Letter(common_utils.TorchaudioTestCase):

def test_waveform(self):
batch_size = 2
Expand Down Expand Up @@ -31,7 +33,7 @@ def test_mfcc(self):
assert out.size() == (batch_size, num_classes, 2)


class TestMelResNet:
class TestMelResNet(common_utils.TorchaudioTestCase):

def test_waveform(self):

Expand Down