Skip to content

Instantly share code, notes, and snippets.

@hackintoshrao
Created May 6, 2018 12:15
Show Gist options
  • Save hackintoshrao/84f905939f57e9150ea9968d1c6a2217 to your computer and use it in GitHub Desktop.
Save hackintoshrao/84f905939f57e9150ea9968d1c6a2217 to your computer and use it in GitHub Desktop.
Optimization function evaluation
with tf.Session() as sess:
sess.run(init)
display_step = 20
# Fit all training data
for iteration in range(training_iteration):
# Run the gradient descent optimizer
sess.run(optimizer, feed_dict={X: X_train, Y: Y_train})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment