The variable is spelled as corect_logprob with a single r while the in text variable is named correctly
The array correct_logprobs is a 1D array of just the probabilities assigned to the correct classes for each example. The full loss is then the average of these log probabilities ....
The variable is spelled as
corect_logprob
with a single r while the in text variable is named correctly