-
Notifications
You must be signed in to change notification settings - Fork 1.5k
missing cuda test cases #4772
Copy link
Copy link
Closed
Description
Describe the bug
Python 3.8.0 (default, Nov 6 2019, 21:49:08)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from tests.utils import TEST_NDARRAYS
>>> print(TEST_NDARRAYS)
(<built-in function array>, <built-in method as_tensor of type object at 0x7f53e1f3b9c0>, functools.partial(<class 'monai.data.meta_tensor.MetaTensor'>, meta={'a': 'b', 'affine': tensor([[2., 0., 0., 0.],
[0., 2., 0., 0.],
[0., 0., 2., 0.],
[0., 0., 0., 1.]])}))
>>> import torch
>>> print(torch.cuda.is_available())
True
>>> TEST_NDARRAYS should include the cuda-base test cases when cuda is available.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels