Hi all,
This is how I’m computing my layer cost function:
{moderator edit - solution code removed}
yet the test gives me this error:
AssertionError Traceback (most recent call last)
in
** 11 assert np.isclose(J_style_layer_GG, 0.0), “Wrong value. compute_layer_style_cost(A, A) must be 0”**
** 12 assert J_style_layer_SG > 0, “Wrong value. compute_layer_style_cost(A, B) must be greater than 0 if A != B”**
—> 13 assert np.isclose(J_style_layer_SG, 14.017805), "Wrong value."
** 14 **
** 15 print("J_style_layer = " + str(J_style_layer_SG))**
AssertionError: Wrong value.
Can someone help me with understanding where I’m coding wrong please?
Thanks