Public functions
Compute the L2 (Euclidean) norm of a vector.
Apply the softmax function to a list of logits.