Skip to content

Instantly share code, notes, and snippets.

@HarshSingh16
Created February 4, 2019 21:07
Show Gist options
  • Save HarshSingh16/168a53ef5c58cab1b04279dc619e9183 to your computer and use it in GitHub Desktop.
Save HarshSingh16/168a53ef5c58cab1b04279dc619e9183 to your computer and use it in GitHub Desktop.
Model_inputs
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