DLS Course 2: week-3,Improving Deep Neural Networks: Hyperparameter tuning, Regularization, and Optimization_Exercise 6 - compute_total_loss

Return value is supposed to be a scalar. This is the checklist for common errors on this function.