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

Skip to content

Commit 62144ed

Browse files
aryamccarthysoumith
authored andcommitted
Update pytorch_with_examples.rst (#256)
1 parent 1627d20 commit 62144ed

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

beginner_source/pytorch_with_examples.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ unfortunately numpy won't be enough for modern deep learning.
5454
Here we introduce the most fundamental PyTorch concept: the **Tensor**.
5555
A PyTorch Tensor is conceptually identical to a numpy array: a Tensor is
5656
an n-dimensional array, and PyTorch provides many functions for
57-
operating on these Tensors. Like numpy arrays, PyTorch Tensors do not
58-
know anything about deep learning or computational graphs or gradients;
59-
they are a generic tool for scientific computing.
57+
operating on these Tensors. Behind the scenes, Tensors can keep track of
58+
a computational graph and gradients, but they're also useful as a
59+
generic tool for scientific computing.
6060

61-
However unlike numpy, PyTorch Tensors can utilize GPUs to accelerate
61+
Also unlike numpy, PyTorch Tensors can utilize GPUs to accelerate
6262
their numeric computations. To run a PyTorch Tensor on GPU, you simply
6363
need to cast it to a new datatype.
6464

0 commit comments

Comments
 (0)