C4 W4 A2: Compute_content_cost ( Art Generation with Neutral Style)

Hello! Despite all of my individual tests have been passed I get an error: InvalidArgumentError: Shapes of all inputs must match: values[0].shape = [1,400,400,64] != values[1].shape = [1,200,200,128] [Op:Pack] name: packed.
Where am I wrong

Your arguments for the unrolled matrices seem to be wrong.

  • Your code is missing the transpose function,
  • and you’re not using n_H and n_W.