Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2021/iii/paper-218/4/a/solution

For hidden layers with , the output logits are and the softmax function gives

New to topics? Read the docs here!