Created
February 4, 2019 21:07
-
-
Save HarshSingh16/168a53ef5c58cab1b04279dc619e9183 to your computer and use it in GitHub Desktop.
Model_inputs
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
def model_inputs(): | |
input=tf.placeholder(tf.int32,[None,None],name="Inputs") | |
targets=tf.placeholder(tf.int32,[None,None],name="Targets") | |
lr=tf.placeholder(tf.float32,name="learning_rate") | |
keep_prob=tf.placeholder(tf.float32,name="keep_prob") | |
return inputs,targets,lr,keep_prob |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment