Created
August 27, 2017 05:46
-
-
Save jeremy886/1e4312224787a870eabb624356ef045b to your computer and use it in GitHub Desktop.
deep learning equation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{align*} | |
\frac{dL}{dz^{[1]}} = & \frac{dL}{da^{[1]}} \times \frac{da^{[1]}}{dz^{[1]}} \\ | |
& = \frac{dz^{[2]}}{da^{[1]}} \frac{dL}{dz^{[2]}} \times \frac{da^{[1]}}{dz^{[1]}} \\ | |
& = \frac{d(W^{[2]}{^T}a^{[1]})}{d a^{[1]}} {\bf dz^{[2]}} \times \frac{da^{[1]}}{dz^{[1]}} \\ | |
& = W^{[2]}{^T} {\bf dz^{[2]}} \times \frac{da^{[1]}}{dz^{[1]}} \\ | |
& = \frac{W^{[2]}{^T}}{dz^{[2]}} \times \frac{d}{dz^{[1]}}g^{[1]}(z^{[1]}) \\ | |
& = \frac{W^{[2]}{^T}}{dz^{[2]}} \times g^{[1]}{'}(z^{[1]}) | |
\end{align*} |
Author
jeremy886
commented
Aug 27, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment