Skip to content

Commit 5aba732

Browse files
authored
Apply suggestion from @JillGrant615
1 parent ff327df commit 5aba732

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

learn-pr/tensorflow/intro-computer-vision-tensorflow/includes/3-train-dense-neural-networks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ x_test = x_test.astype(np.float32) / 255.0
1414

1515
A basic **neural network** consists of many **layers**. The simplest network would include just one fully connected layer, which is called **Dense** layer, with 784 inputs (one input for each pixel of the input image) and 10 outputs (one output for each class). It's called dense because it contains all possible connections between 784 inputs and 10 outputs, giving 7,840 connection weights plus 10 bias terms for a total of 7,850 trainable parameters.
1616

17-
![A diagram showing dense neural network structure](../media/dense-one-layer-network.png)
17+
![A diagram showing dense neural network structure.](../media/dense-one-layer-network.png)
1818

1919
However, our input data comes in the form of 28×28 matrices, while a network input needs to be a one-dimensional vector of length 784. Thus, the first layer of the network would be a `Flatten` layer that converts 28×28 pixels into a vector.
2020

0 commit comments

Comments
 (0)