updated document for softmax and logsumexp