C4W4 Neural style transfer issue with compute_content_cost

I keep getting an error stating that list object has no attribute get_shape when I attempt to retrieve the dimension from a_G.

Screenshot 2021-09-13 at 9.14.14 PM

I don’t understand what went wrong. Any advice is appreciated! Thanks

Do not use square brackets around the variable names. That turns them into lists, which is not what you want.

Sorry I don’t quite get what you mean as I didnt use any square brackets.