Exercise 8 of week 2 -Model

Hi @Nildo; welcome to the DL Specialization. The error message indicates that your implementation of the cost function is not correct. The output of the cost function should be a scalar, not a vector. In other words, it needs to be single-valued. The cost function is implemented in the propagate(...) function earlier in the notebook. Did that function pass its tests?