Softmax

The softmax function highlights the largest values and suppresses values which are significantly below the maximum value, though this is not true for small values. It normalizes the outputs so that they sum to 1 so that they can be directly treated as probabilities over the output.

It is often used in the final layer in a classifier model with the categorical crossentropy as loss function.

Softmax activation function
Softmax diagram
Figure 1. Softmax diagram