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 5ef8df5 commit 63d6601Copy full SHA for 63d6601
beginner_source/blitz/tensor_tutorial.py
@@ -132,7 +132,8 @@
132
# Converting a Torch Tensor to a NumPy array and vice versa is a breeze.
133
#
134
# The Torch Tensor and NumPy array will share their underlying memory
135
-# locations, and changing one will change the other.
+# locations (if the Torch Tensor is on CPU), and changing one will change
136
+# the other.
137
138
# Converting a Torch Tensor to a NumPy Array
139
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments