mirror of
https://github.com/This-weiyuqing/ECG_by_Diffenert_CNN_Test.git
synced 2026-10-20 04:06:43 +08:00
one layer CNN get
This commit is contained in:
1 parent
14ce214397
commit
10056d33f2
742 files changed
+192
-165
No files matched your search
+9
-1
@@ -1,2 +1,10 @@
|
||||
import torch
|
||||
torch.cuda.is_available()
|
||||
torch.cuda.is_available()
|
||||
print(torch.cuda.is_available())
|
||||
print(torch.__version__)
|
||||
|
||||
|
||||
print(torch.cuda.is_available() )# cuda是否可用
|
||||
print(torch.cuda.device_count() )# gpu数量
|
||||
print(torch.cuda.current_device())# 当前设备索引, 从0开始
|
||||
print(torch.cuda.get_device_name(0))# 返回gpu名字
|
||||
Reference in new issue
Block a user