functional_cuda_test.py 386 Bytes
Newer Older
1
2
3
4
5
6
7
import torch

from . import common_utils
from .functional_impl import Lfilter


@common_utils.skipIfNoCuda
moto's avatar
moto committed
8
class TestLFilterFloat32(Lfilter, common_utils.PytorchTestCase):
9
10
11
12
13
    dtype = torch.float32
    device = torch.device('cuda')


@common_utils.skipIfNoCuda
moto's avatar
moto committed
14
class TestLFilterFloat64(Lfilter, common_utils.PytorchTestCase):
15
16
    dtype = torch.float64
    device = torch.device('cuda')