PicCollage interview question

What does the softmax function do?