AIFH Volume 3, Chapter 4: Softmax

Vector Size(K):

Input Vector (z)

Output Vector

Calculations

Softmax is calculated with the following formula. $$\sigma(\mathbf{z})_j = \frac{e^{z_j}}{\sum_{k=1}^K e^{z_k}}$$ Enter a vector of values above, and you will see the calculations to compute softmax.