Skip to content

Commit fe90d0b

Browse files
committed
update
1 parent f460032 commit fe90d0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes_source/recipes/changing_default_device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
print(mod(torch.randn(128, 20)).device)
3636

3737
#########################################
38-
# You can also set it globally like this:
38+
# You can also set it globally like this:
3939

4040
torch.set_default_device('cuda')
4141

0 commit comments

Comments
 (0)