Created
December 6, 2018 08:49
-
-
Save hadifar/b9b9b771a36f644cfaf530eb0d6a7451 to your computer and use it in GitHub Desktop.
This file contains 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
embeddings_matrix = tf.get_variable("embedding", [vocabulary_size, embedding_size]) | |
embed = tf.nn.embedding_lookup(embeddings_matrix, x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment