kaldi_compatibility_cpu_test.py 329 Bytes
Newer Older
1
2
import torch

3
4
from . import common_utils
from .kaldi_compatibility_impl import Kaldi
5
6


moto's avatar
moto committed
7
class TestKaldiFloat32(Kaldi, common_utils.PytorchTestCase):
8
9
10
11
    dtype = torch.float32
    device = torch.device('cpu')


moto's avatar
moto committed
12
class TestKaldiFloat64(Kaldi, common_utils.PytorchTestCase):
13
14
    dtype = torch.float64
    device = torch.device('cpu')