C2 W3 issue, error with exercise 6

For the following code:

{moderator edit - solution code removed}

I am receiving the following error: AttributeError: module ‘tensorflow’ has no attribute ‘tranpose’

I am not able to solve this problem. I tried using the reshape function instead, but it’s still saying that my loss function is outputting wrong results.
Please help.

You misspelled transpose in the second case, but you spelled it correctly the first time. Programming is a game of details. Every character matters. :nerd_face:

1 Like