Skip to content

Instantly share code, notes, and snippets.

@chricke
Created March 26, 2019 09:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chricke/09a65af1fbf3ea6743c73896d3199fd5 to your computer and use it in GitHub Desktop.
Save chricke/09a65af1fbf3ea6743c73896d3199fd5 to your computer and use it in GitHub Desktop.
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