I can’t seem to get the right answer to “compute_layer_style_cost” function. I am reshaping “a_S” and “a_G” to the following dimensions (n_C, n_H*n_W). Is this the correct way to reshape?

Issue Resolved so here by i am removing the post

The course Honor Code says that students should not post their code, or read another student’s code.

Hi T Mosh sorry for the inconvenience caused will remove the post now
Thanks for notifying me

I’ve removed my code from the original post.

I am facing this problem too. can you explain why?