Commit e2c31cb1 authored by rusty1s's avatar rusty1s
Browse files

coverage

parent 7b0ec2c6
[report]
exclude_lines =
def backward
def bw
......@@ -3,7 +3,7 @@ import torch
dtypes = [torch.float, torch.double]
devices = [torch.device('cpu')]
if torch.cuda.is_available():
if torch.cuda.is_available(): # pragma: no cover
devices += [torch.device('cuda:{}'.format(torch.cuda.current_device()))]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment