Definition

Suppose the number of possible outcomes is , then the softmax function is defined as