Advertisement
Guest User

Untitled

a guest
Jun 28th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. update = sess.run(y, feed_dict={x: batch_xs})
  2. for i in range(len(update)):
  3. update[i] = update[i]/np.sqrt(np.sum(np.square(update[i])))
  4. update[i] = update[i] * magnitude
  5.  
  6. No gradients provided for any variable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement