Last active
March 11, 2017 16:41
-
-
Save RahulBhalley/f04d8957101901c89c9c68fded837963 to your computer and use it in GitHub Desktop.
XOR gate solution to my post @ https://rahulbhalley.github.io/posts/2017-02/neural-networks-explained.html
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
# 2nd layer hyperparameters of our network | |
w = tf.Variable([[1], [-2]]) # weights between hidden layer and output layer. | |
b = tf.Variable([[0], [0], [0], [0]]) # biases for output units. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment