Week 3 programming assignment error

Why is my code not passing the testcase? Have done everything as asked.

{moderator edit - solution code removed}

OUTPUT
tf.Tensor(0.17102128, shape=(), dtype=float32)
AssertionError: Test does not match. Did you get the reduce sum of your loss functions?

1 Like

If I recall correctly, you need to also transpose the labels and logits variables.

1 Like

@paulinpaloalto Please help in this…getting same error

1 Like

Sorted!!

{moderator edit - solution code removed}

1 Like

I get the same error. Please help.

1 Like

Here is the list to check.

1 Like