Error in compute_style_cost

I am continously getting this error message even after making significant changes in my code. Any help would be appreciated.


here is my code

In the “a_S = …” and “a_G = …” lines, your shape argument is incorrect.

Thank you, problem solved after a little more effort