variables = tf.get_collection(tf.GraphKeys.VARIABLES)
for i in variables:
    print(i)