"load_tests/orca.py" did not exist on "27b3a2c9fc3fd85e8c52ac0ed9c5a2aefe395f97"
kaldi_compatibility_cpu_test.py 315 Bytes
Newer Older
1
2
import torch

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


7
8
9
10
11
12
13
14
class TestKaldiFloat32(Kaldi, common_utils.TestCase):
    dtype = torch.float32
    device = torch.device('cpu')


class TestKaldiFloat64(Kaldi, common_utils.TestCase):
    dtype = torch.float64
    device = torch.device('cpu')