Last active
March 11, 2017 13:28
-
-
Save RahulBhalley/7a9bc2199eadb26ba01498fd60c1cd18 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 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
# 1st feedforward propagation | |
XW = tf.matmul(X, tf.transpose(W)) | |
XW_c = tf.add(XW, tf.transpose(c)) | |
a_XW_c = tf.nn.relu(XW_c) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment