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

Or you could just add the little “dot” to make 4 into 4. which is a float, right? Here’s a thread with more graphic examples.

1 Like