for the cost function
I am using
{moderator edit - solution code removed}
in the function of compute_total_loss()
it generates 0.88275, while the expected answer is 0.810827, I checked many times, can not figure where is wrong.
Please help
for the cost function
I am using
{moderator edit - solution code removed}
in the function of compute_total_loss()
it generates 0.88275, while the expected answer is 0.810827, I checked many times, can not figure where is wrong.
Please help
Did you remember to transpose the logits and labels? Also note that you are passing logits here and not output activation values, so that is not the correct value for the from_logits
parameter, right?