Skip to content

Instantly share code, notes, and snippets.

@gonzaloruizdevilla
Created May 18, 2018 12:44
Show Gist options
  • Save gonzaloruizdevilla/0100f59e0717e54d25e33ea5fdf3b9d8 to your computer and use it in GitHub Desktop.
Save gonzaloruizdevilla/0100f59e0717e54d25e33ea5fdf3b9d8 to your computer and use it in GitHub Desktop.
Word2vec optimizer
# We use the SGD optimizer.
optimizer = tf.train.GradientDescentOptimizer(learning_rate=1.0).minimize(loss)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment