Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- update = sess.run(y, feed_dict={x: batch_xs})
- for i in range(len(update)):
- update[i] = update[i]/np.sqrt(np.sum(np.square(update[i])))
- update[i] = update[i] * magnitude
- No gradients provided for any variable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement