We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b8c012 commit d3cf027Copy full SHA for d3cf027
beginner_source/PyTorch Cheat.md
@@ -102,7 +102,7 @@ See [math operations](https://pytorch.org/docs/stable/torch.html?highlight=mm#ma
102
### GPU Usage
103
104
```
105
-torch.cuda.is_available # check for cuda
+torch.cuda.is_available() # check for cuda
106
x.cuda() # move x's data from CPU to GPU and return new object
107
x.cpu() # move x's data from GPU to CPU and return new object
108
0 commit comments