Hello, everyone,
I have a problem with the compute_content_cost function. I get a name error: : name n_c is not defined.
Since I am following the instructions in the description of this exercise exactly, I do not understand how this error can occur.
I use tf.reshape (a_C, shape = [ _, -1, n_C ]). I don’t use an “m” here because there is no m in the given code. Otherwise I get the error message that “m” does not exist.
Can someone help me solve this problem?