Last active
December 27, 2018 06:04
-
-
Save shangeth/42426544ed520e4f7351d9ee5e1e02d6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
X = np.random.rand(3,3) | |
print('Input X = \n',X) | |
w = np.random.normal(loc=0.0, scale=0.01, size=(3,1)) | |
print('\nInitialized weight w = \n',w) | |
bias = np.ones((3,1)) | |
print('\nInitialized bias b = \n',bias) | |
z = np.dot(X, w) + bias z | |
print(z) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment