softmax
Softmax transfer function
Description
Tip
To use a softmax activation for deep learning, use softmaxLayer or the
dlarray method
softmax.
takes a
A = softmax(N)S-by-Q matrix of net input (column) vectors,
N, and returns the S-by-Q matrix,
A, of the softmax competitive function applied to each column of
N.

softmax is a neural transfer function. Transfer functions calculate a
layer’s output from its net input.
Examples
Input Arguments
Output Arguments
Algorithms
a = softmax(n) = exp(n)/sum(exp(n))
Version History
Introduced before R2006a