hard20 pts · first answer countsdeep-learningmathsbackpropagation
Gradient of softmax cross-entropy
Softmax outputs are p = [0.7, 0.2, 0.1] and the true class is index 0. What is the gradient of the cross-entropy loss with respect to the three logits?
Discussion 0
Join free to post in the discussion.
Related questions
- Parameters in nn.Linear(10, 5)Machine Learning Engineer
- Why sigmoid slows deep trainingMachine Learning Engineer
- Range of tanhMachine Learning Engineer
- Cross-entropy loss by handMachine Learning Engineer
- Telling autograd to track a tensorMachine Learning Engineer
- Why wrap inference in no_gradMachine Learning Engineer
- Logging loss without leaking memoryMachine Learning Engineer
- Feeding a single image to a CNNMachine Learning Engineer