softmax
(To be removed) Softmax transfer function
softmax will be removed in a future release. For more information,
see Transition Legacy Neural Network Code to dlnetwork Workflows.
For advice on updating your code, see Version History.
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 R2006aSee Also
Time Series
Modeler | fitrnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork | softmaxLayer | softmax