From d5944aa507a0b2d6d3c49f669ee06bd7b9d926de Mon Sep 17 00:00:00 2001 From: Mao Date: Sun, 19 Dec 2021 21:21:04 +0800 Subject: [PATCH 1/4] typo fix --- site/en/r1/tutorials/images/transfer_learning.ipynb | 2 +- site/en/tutorials/images/data_augmentation.ipynb | 6 +++--- site/en/tutorials/images/transfer_learning.ipynb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/site/en/r1/tutorials/images/transfer_learning.ipynb b/site/en/r1/tutorials/images/transfer_learning.ipynb index bdb05a86382..b98043bcc54 100644 --- a/site/en/r1/tutorials/images/transfer_learning.ipynb +++ b/site/en/r1/tutorials/images/transfer_learning.ipynb @@ -547,7 +547,7 @@ "\n", "# Freeze all the layers before the `fine_tune_at` layer\n", "for layer in base_model.layers[:fine_tune_at]:\n", - " layer.trainable = False" + " layer.trainable = False" ] }, { diff --git a/site/en/tutorials/images/data_augmentation.ipynb b/site/en/tutorials/images/data_augmentation.ipynb index 83438684df1..a340242f0ff 100644 --- a/site/en/tutorials/images/data_augmentation.ipynb +++ b/site/en/tutorials/images/data_augmentation.ipynb @@ -937,7 +937,7 @@ "outputs": [], "source": [ "cropped = tf.image.central_crop(image, central_fraction=0.5)\n", - "visualize(image,cropped)" + "visualize(image, cropped)" ] }, { @@ -989,7 +989,7 @@ "Note: `seed` is a `Tensor` of shape `(2,)` whose values are any integers.\n", "\n", "In the following sections, you will:\n", - "1. Go over examples of using random image operations to transform an image; and\n", + "1. Go over examples of using random image operations to transform an image\n", "2. Demonstrate how to apply random transformations to a training dataset." ] }, @@ -1174,7 +1174,7 @@ }, "outputs": [], "source": [ - "# Create a `Counter` object and `Dataset.zip` it together with the trainining set.\n", + "# Create a `Counter` object and `Dataset.zip` it together with the training set.\n", "counter = tf.data.experimental.Counter()\n", "train_ds = tf.data.Dataset.zip((train_datasets, (counter, counter)))" ] diff --git a/site/en/tutorials/images/transfer_learning.ipynb b/site/en/tutorials/images/transfer_learning.ipynb index d6d8c7e6092..26dc717857e 100644 --- a/site/en/tutorials/images/transfer_learning.ipynb +++ b/site/en/tutorials/images/transfer_learning.ipynb @@ -839,7 +839,7 @@ "\n", "# Freeze all the layers before the `fine_tune_at` layer\n", "for layer in base_model.layers[:fine_tune_at]:\n", - " layer.trainable = False" + " layer.trainable = False" ] }, { From b2a252873b372314514caeec4313a695edc2783b Mon Sep 17 00:00:00 2001 From: Mao Date: Thu, 23 Dec 2021 15:11:09 +0800 Subject: [PATCH 2/4] typo fix --- site/en/tutorials/keras/regression.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/en/tutorials/keras/regression.ipynb b/site/en/tutorials/keras/regression.ipynb index ec919ef8907..c2fad15392b 100644 --- a/site/en/tutorials/keras/regression.ipynb +++ b/site/en/tutorials/keras/regression.ipynb @@ -768,7 +768,7 @@ }, "outputs": [], "source": [ - "plot_horsepower(x,y)" + "plot_horsepower(x, y)" ] }, { From 1e09dde72a31a0844ac75e4b61a94e0c1963d6b5 Mon Sep 17 00:00:00 2001 From: tfdocsbot Date: Thu, 23 Dec 2021 07:11:47 +0000 Subject: [PATCH 3/4] nbfmt --- site/en/guide/checkpoint.ipynb | 1 - 1 file changed, 1 deletion(-) diff --git a/site/en/guide/checkpoint.ipynb b/site/en/guide/checkpoint.ipynb index 37e96a93b3c..19117c4341f 100644 --- a/site/en/guide/checkpoint.ipynb +++ b/site/en/guide/checkpoint.ipynb @@ -683,7 +683,6 @@ "colab": { "collapsed_sections": [], "name": "checkpoint.ipynb", - "provenance": [], "toc_visible": true }, "kernelspec": { From d7013b871705e3af765650b3fe19599b1fe86a5a Mon Sep 17 00:00:00 2001 From: 8bitmp3 <19637339+8bitmp3@users.noreply.github.com> Date: Tue, 11 Jan 2022 00:39:23 -0800 Subject: [PATCH 4/4] Update site/en/tutorials/images/data_augmentation.ipynb --- site/en/tutorials/images/data_augmentation.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/en/tutorials/images/data_augmentation.ipynb b/site/en/tutorials/images/data_augmentation.ipynb index a340242f0ff..d7a89c27888 100644 --- a/site/en/tutorials/images/data_augmentation.ipynb +++ b/site/en/tutorials/images/data_augmentation.ipynb @@ -989,7 +989,7 @@ "Note: `seed` is a `Tensor` of shape `(2,)` whose values are any integers.\n", "\n", "In the following sections, you will:\n", - "1. Go over examples of using random image operations to transform an image\n", + "1. Go over examples of using random image operations to transform an image.\n", "2. Demonstrate how to apply random transformations to a training dataset." ] },