Skip to content

Instantly share code, notes, and snippets.

@chricke
Created March 26, 2019 09:37
Embed
What would you like to do?
TF Placeholders
def get_inputs():
input_placeholder = tf.placeholder(tf.int32, [None, None], name = 'input')
targets_placeholder = tf.placeholder(tf.int32, [None, None])
learning_rate_placeholder = tf.placeholder(tf.float32)
return input_placeholder, targets_placeholder, learning_rate_placeholder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment