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 6405db4 commit dbfd265Copy full SHA for dbfd265
recipes_source/recipes/changing_default_device.py
@@ -4,7 +4,7 @@
4
5
It is common practice to write PyTorch code in a device-agnostic way,
6
and then switch between CPU and CUDA depending on what hardware is available.
7
-Typically, to do this you might have used if-statements and cuda() calls
+Typically, to do this you might have used if-statements and ``cuda()`` calls
8
to do this:
9
10
"""
0 commit comments