Created
February 26, 2019 17:09
-
-
Save marcopeix/a25c8b89024466ce990f10a011d6d209 to your computer and use it in GitHub Desktop.
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
def linear_forward(A, W, b): | |
Z = np.dot(W, A) + b | |
assert(Z.shape == (W.shape[0], A.shape[1])) | |
cache = (A, W, b) | |
return Z, cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment