Last active
December 19, 2017 21:14
-
-
Save krunal3kapadiya/c781ff66a5cf011d415034b01a096dc1 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
# Gradient descent | |
# Note, minimize() knows to modify W and b because Variable objects are trainable=True by default | |
optimizer = tf.train.GradientDescentOptimizer(learning_rate).minimize(cost) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment