Skip to content

Commit 4d09559

Browse files
authored
Merge pull request #61 from pipinstallaadit/patch-1
C2W1 Update Gradient Checking v1.ipynb
2 parents cddeb29 + 1e8d4ce commit 4d09559

File tree

1 file changed

+1
-1
lines changed
  • C2 - Improving Deep Neural Networks Hyperparameter tuning, Regularization and Optimization/Week 1/Gradient Checking

1 file changed

+1
-1
lines changed

C2 - Improving Deep Neural Networks Hyperparameter tuning, Regularization and Optimization/Week 1/Gradient Checking/Gradient Checking v1.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@
488488
"source": [
489489
"# GRADED FUNCTION: gradient_check_n\n",
490490
"\n",
491-
"def gradient_check_n(parameters, gradients, X, Y, epsilon = 1e-7):\n",
491+
"def gradient_check_n(parameters, gradients, X, Y, epsilon = 1e-7, print_msg=False):\n",
492492
" \"\"\"\n",
493493
" Checks if backward_propagation_n computes correctly the gradient of the cost output by forward_propagation_n\n",
494494
" \n",

0 commit comments

Comments
 (0)