Skip to content

Instantly share code, notes, and snippets.

@eisenjulian
Last active March 6, 2018 12:28
Show Gist options
  • Save eisenjulian/cbab524e311722162a79511f95d16832 to your computer and use it in GitHub Desktop.
Save eisenjulian/cbab524e311722162a79511f95d16832 to your computer and use it in GitHub Desktop.
input_layer = tf.contrib.layers.embed_sequence(
features['x'],
vocab_size,
embedding_size,
initializer=params['embedding_initializer'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment