Exercise 6: compute_total_loss

The problem is that you are using reduce_mean instead of reduce_sum. They talked about that in the instructions. Here’s a thread which explains in more detail why they do it that way.