Hello everybody, really happy to have you here,
I’ve passed all tests of week 3 assignments, but the last graded exercise (cost function) gives me the wrong answer, although I think I followed the rules,

Hi, I have the same problem and I tried to use tf.transpose() but it didn’t give me the expected output. I got this output after using tf.transpose() tf.Tensor(0.8071431, shape=(), dtype=float32)

Before using the tf.transpose() I got this, which is also not the expected output: tf.Tensor(0.147125, shape=(), dtype=float32)