Week 3 - compute_total_loss Incorrect

Here are the things to check:

  1. Make sure you did the transpose on the inputs.
  2. Make sure you use the from_logits option to tell the cost function that you are giving it logits and not activation values.
  3. Make sure you use reduce_sum and not reduce_mean to get the final scalar value.
  4. Make sure you used the loss function specified in the instructions.
  5. Make sure you specify the positional arguments to the loss function in the correct order.
23 Likes