Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6756514

Browse files
authored
Merge pull request #73 from gchanan/cpugpudesc
Simplify description of CPU/GPU tensor type consistency.
2 parents 9584ab9 + 76d212e commit 6756514

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

beginner_source/former_torchies/tensor_tutorial.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,8 @@
127127
# CUDA Tensors
128128
# ------------
129129
#
130-
# CUDA Tensors are nice and easy in pytorch, and they are much more
131-
# consistent as well. Transfering a CUDA tensor from the CPU to GPU will
132-
# retain it’s type.
130+
# CUDA Tensors are nice and easy in pytorch, and transfering a CUDA tensor
131+
# from the CPU to GPU will retain its underlying type.
133132

134133
# let us run this cell only if CUDA is available
135134
if torch.cuda.is_available():

0 commit comments

Comments
 (0)