Tensorflow prog. assign. Exercise 6

Here’s a recent thread that explains in more detail why the transpose is required.