Created
April 24, 2017 16:42
-
-
Save anandanand84/f0ee66bd437f94c00aa5a191aef965cf to your computer and use it in GitHub Desktop.
Prediction of normalized data from tensorflow
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
#Actaul inference | |
square_sum = tf.reduce_sum(tf.square(x), axis=1, keep_dims=True) | |
sqrt = tf.sqrt(square_sum) | |
inv_sqrt = tf.rsqrt(square_sum) | |
normalized = tf.multiply(x, inv_sqrt) | |
infer_pred = BiRNN(normalized, weights, biases) | |
trend = tf.multiply(infer, sqrt) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment