This website works better with JavaScript.
Explore
Help
Sign In
YunMao
/
Deep_Learning
Watch
1
Star
0
Fork
You've already forked Deep_Learning
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
master
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'master'
${ noResults }
Deep_Learning
/
CW1
/
1.py
5 lines
97 B
Raw
Permalink
Blame
History
import
torch
print
(
torch
.
cuda
.
is_available
(
)
)
import
os
os
.
environ
[
"
CUDA_VISIBLE_DEVICES
"
]
=
"
2
"
Reference in new issue
View Git Blame
Copy Permalink