For compute_layer_style_cost,
a_S tensor of dimension (1, n_H, n_W, n_C), why we don’t need to consider the dimension 1 when we do the reshape using a_S = tf.transpose(tf.reshape(a_S, [n_H*n_W, n_C])).
why a_S = tf.transpose(tf.reshape( a_S, shape= [1,n_H*n_W, n_C]),perm=[0,2,1]) does not work? Isn’t the reshape tensor supposed to have 3 dimensions?
But for compute_content_cost, a_C_unrolled = tf.reshape(a_C, shape=[m, -1, n_C]) works well, what is the difference between those two?