lint 적용
This commit is contained in:
@@ -2,10 +2,11 @@ import torch
|
||||
|
||||
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
||||
|
||||
|
||||
class dict_options:
|
||||
opt = {}
|
||||
opt["device"] =device
|
||||
opt["device"] = device
|
||||
opt["report_host"] = "http://localhost:7890"
|
||||
|
||||
def call_default(self):
|
||||
return self.opt
|
||||
return self.opt
|
||||
|
||||
Reference in New Issue
Block a user