Question: What is the main purpose of the softmax function in a CNN?
Options:
Correct Answer: To normalize the output to a probability distribution
Solution:
The softmax function normalizes the output of the final layer to a probability distribution over multiple classes in classification tasks.