优化训练过程
This commit is contained in:
5
toch_test.py
Normal file
5
toch_test.py
Normal file
@ -0,0 +1,5 @@
|
||||
import torch
|
||||
|
||||
is_gpu = torch.cuda.is_available()
|
||||
|
||||
print(str(is_gpu))
|
Reference in New Issue
Block a user