The output layer is the final layer of a neural network. Its nodes produce the model’s predictions; its size and activation can vary with the example architecture. section 10.1 section 10.3
Classification outputs
A Keras classifier for two classes ends with two softmax units; an MNIST digit classifier ends with ten. The predicted class can be selected from the output values. section 10.3
Figure 10.21 The architecture that we will use to classify our dataset. It contains two hidden layers: one of 128 and one of 64 nodes. The activation function between them is a ReLU, and the final activation function is a softmax.
See the network diagram, including its final softmax layer. section 10.3





