PicCollage Interview Question

What does the softmax function do?