Skip to content

Commit e7bc6be

Browse files
Grammar fixes in Deep Learning with Torch.ipynb
it's -> its
1 parent 1b49a70 commit e7bc6be

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Deep Learning with Torch.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -479,13 +479,13 @@
479479
"##### Review of what you learnt so far\n",
480480
"* Network can have many layers of computation\n",
481481
"* Network takes an input and produces an output in the :forward pass\n",
482-
"* Criterion computes the loss of the network, and it's gradients w.r.t. the output of the network.\n",
483-
"* Network takes an (input, gradients) pair in it's backward pass and calculates the gradients w.r.t. each layer (and neuron) in the network.\n",
482+
"* Criterion computes the loss of the network, and its gradients w.r.t. the output of the network.\n",
483+
"* Network takes an (input, gradients) pair in its backward pass and calculates the gradients w.r.t. each layer (and neuron) in the network.\n",
484484
"\n",
485485
"##### Missing details\n",
486486
"> A neural network layer can have learnable parameters or not.\n",
487487
"\n",
488-
"A convolution layer learns it's convolution kernels to adapt to the input data and the problem being solved. \n",
488+
"A convolution layer learns its convolution kernels to adapt to the input data and the problem being solved. \n",
489489
"A max-pooling layer has no learnable parameters. It only finds the max of local windows.\n",
490490
"\n",
491491
"A layer in torch which has learnable weights, will typically have fields .weight (and optionally, .bias)"
@@ -633,7 +633,7 @@
633633
"cell_type": "markdown",
634634
"metadata": {},
635635
"source": [
636-
"Now, to prepare the dataset to be used with __nn.StochasticGradient__, a couple of things have to be done according to it's [documentation](https://github.com/torch/nn/blob/master/doc/training.md#traindataset).\n",
636+
"Now, to prepare the dataset to be used with __nn.StochasticGradient__, a couple of things have to be done according to its [documentation](https://github.com/torch/nn/blob/master/doc/training.md#traindataset).\n",
637637
"1. The dataset has to have a :size() function.\n",
638638
"2. The dataset has to have a [i] index operator, so that dataset[i] returns the ith sample in the datset.\n",
639639
"\n",
@@ -1025,7 +1025,7 @@
10251025
"source": [
10261026
"You can see the network predictions. The network assigned a probability to each classes, given the image.\n",
10271027
"\n",
1028-
"To make it clearer, let us tag each probability with it's class-name:"
1028+
"To make it clearer, let us tag each probability with its class-name:"
10291029
]
10301030
},
10311031
{

0 commit comments

Comments
 (0)