Course 4 Week4 - Exercise 3 - compute_layer_style_cost¶/// TypeError: x and y must have the same dtype, got tf.float32 != tf.int32

It’s great to hear that you found the solution. If you want to understand more about why the “direct reshape” gives the wrong answer, here’s a thread with more info which also points at this one which has an actual example of the damage of doing it incorrectly.