Skip to content

Commit c106324

Browse files
Merge pull request #2080 from AnasNeumann:patch-1
PiperOrigin-RevId: 501866217
2 parents f01fa5e + 8d77750 commit c106324

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

site/en/tutorials/keras/text_classification.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,8 +650,7 @@
650650
"\n",
651651
"1. The first layer is an `Embedding` layer. This layer takes the integer-encoded reviews and looks up an embedding vector for each word-index. These vectors are learned as the model trains. The vectors add a dimension to the output array. The resulting dimensions are: `(batch, sequence, embedding)`. To learn more about embeddings, check out the [Word embeddings](https://www.tensorflow.org/text/guide/word_embeddings) tutorial.\n",
652652
"2. Next, a `GlobalAveragePooling1D` layer returns a fixed-length output vector for each example by averaging over the sequence dimension. This allows the model to handle input of variable length, in the simplest way possible.\n",
653-
"3. This fixed-length output vector is piped through a fully-connected (`Dense`) layer with 16 hidden units. \n",
654-
"4. The last layer is densely connected with a single output node."
653+
"3. The last layer is densely connected with a single output node."
655654
]
656655
},
657656
{

0 commit comments

Comments
 (0)