efficiently grab gradients from tensorflow?,sess.run(tf.initialize_all_variables())