Skip to content

Commit b6bc1a1

Browse files
committed
Fix Docs Typo Tensorflow#21199
1 parent 59f7e80 commit b6bc1a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/core/tutorials/keras/basic_classification.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@
613613
"source": [
614614
"The first layer in this network, `tf.keras.layers.Flatten`, transforms the format of the images from a 2d-array (of 28 by 28 pixels), to a 1d-array of 28 * 28 = 784 pixels. Think of this layer as unstacking rows of pixels in the image and lining them up. This layer has no parameters to learn; it only reformats the data.\n",
615615
"\n",
616-
"After the pixels are flattened, the network consists of a sequence of two `tf.keras.layers.Dense` layers. These are densely-connected, or fully-connected, neural layers. The first `Dense` layer has 128 nodes (or neurons). The second (and last) layer is a 10-node *softmax* layer—this returns an array of 10 probability scores that sum to 1. Each node contains a score that indicates the probability that the current image belongs to one of the 10 digit classes.\n",
616+
"After the pixels are flattened, the network consists of a sequence of two `tf.keras.layers.Dense` layers. These are densely-connected, or fully-connected, neural layers. The first `Dense` layer has 128 nodes (or neurons). The second (and last) layer is a 10-node *softmax* layer—this returns an array of 10 probability scores that sum to 1. Each node contains a score that indicates the probability that the current image belongs to one of the 10 classes.\n",
617617
"\n",
618618
"### Compile the model\n",
619619
"\n",
@@ -1025,4 +1025,4 @@
10251025
]
10261026
}
10271027
]
1028-
}
1028+
}

0 commit comments

Comments
 (0)