Mathematical function that converts a vector of numbers into a probability distribution.

The function transforms Logits into values between 0 and 1 that sum to exactly 1.0. 

  1. Exponentiation: It takes the exponential () of each input value, ensuring all results are positive.
  2. Normalization: It divides each exponential value by the sum of all exponentiated values in the vector.