Created
June 22, 2018 10:11
-
-
Save Tathagatd96/3833b4e5a7fef1b6d0771ba78c0a45ba 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
#ANY RNN CELL TYPE | |
cell=tf.contrib.rnn.OutputProjectionWrapper(tf.contrib.rnn.GRUCell(num_units=num_neurons,activation=tf.nn.relu),output_size=num_outputs) | |
outputs,states=tf.nn.dynamic_rnn(cell,x,dtype=tf.float32) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment