An output layer is the final decision layer of a neural network. It receives activations from preceding hidden layers and produces a prediction for the task. section 8.2.3
Its role depends on how the network expresses the task output:
- Passes information forward after hidden layers process inputs through weights, biases, and activation functions. section 8.3.2
- Makes the task prediction, such as identifying an object or classifying an image. section 8.2.3
- Uses softmax for classification when the output should provide probabilities for different classes. section 8.6.1
Face and image classification
A face-identification network can produce the probability that an image belongs to Mr. X. In a cat-versus-dog classifier, a softmax output gives the probability for each class. section 8.3.2 section 8.6.1
Figure 8.4 A typical neural network with neurons and input, hidden, and output layers
Use the network diagram to trace data from the input layer through hidden layers to the final output layer. section 8.2.3





